X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkAtomicBlackBoxMacros.h;h=69bcc7c5bbae88b923c4d0d4a2e9cc0b9fd23548;hb=1e2df7fb6ae571ce1cf72e6af1715f0e34675cbf;hp=8c026f2e1757f7d14b9b0e9cc043ba72f345d24b;hpb=08b47eb39fd2e8456f71843c26ebe1435765f2bb;p=bbtk.git diff --git a/kernel/src/bbtkAtomicBlackBoxMacros.h b/kernel/src/bbtkAtomicBlackBoxMacros.h index 8c026f2..69bcc7c 100644 --- a/kernel/src/bbtkAtomicBlackBoxMacros.h +++ b/kernel/src/bbtkAtomicBlackBoxMacros.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkAtomicBlackBoxMacros.h,v $ Language: C++ - Date: $Date: 2008/11/13 14:46:43 $ - Version: $Revision: 1.12 $ + Date: $Date: 2008/11/25 11:17:13 $ + Version: $Revision: 1.13 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -241,7 +241,7 @@ : PARENT(from,name,false) \ { \ BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors); \ - CLASS::bbUserCopyConstructor(); \ + CLASS::bbUserCopyConstructor(from.GetThisPointer()); \ BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from); \ } \ CLASS::~CLASS() \ @@ -524,7 +524,7 @@ : PARENT(from,name,false) \ { \ BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors); \ - CLASS::bbUserCopyConstructor(); \ + CLASS::bbUserCopyConstructor(from.GetThisPointer()); \ BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from); \ } \ template \ @@ -699,7 +699,7 @@ : PARENT(from,name,false) \ { \ BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors); \ - CLASS::bbUserCopyConstructor(); \ + CLASS::bbUserCopyConstructor(from.GetThisPointer()); \ BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from); \ } \ template \