@@ -114,11 +114,13 @@ public:
shared_array& operator= (const shared_array& r) {
if(r == *this) {
- return;
+ return *this;
}
ctr->decref(ptr);
ctr = r.ctr->incref();
ptr = r.ptr;
+
// automatic destruction of the wrapped object when all
@@ -114,11 +114,12 @@ public:
shared_ptr& operator= (const shared_ptr& r) {
@@ -3684,6 +3684,10 @@
RelativePath="..\..\code\BoostWorkaround\boost\scoped_ptr.hpp"
>
</File>
+ <File
+ RelativePath="..\..\code\BoostWorkaround\boost\shared_array.hpp"
+ >
+ </File>
<File
RelativePath="..\..\code\BoostWorkaround\boost\shared_ptr.hpp"