Added missing TestClass::Clone() needed by DeepCopy (OwnershipPolicy)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@82 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
73aa0f6d88
commit
580089f04d
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ public:
|
||||||
delete this;
|
delete this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TestClass* Clone()
|
||||||
|
{
|
||||||
|
return new TestClass(*this);
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static int instances;
|
static int instances;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue