li_boost_shared_ptr_bits testcase fix for languages without shared_ptr support
This commit is contained in:
parent
ef0be64a6d
commit
1e19e4bd45
1 changed files with 5 additions and 0 deletions
|
|
@ -133,8 +133,13 @@ HiddenDestructor::~HiddenDestructor()
|
|||
// As above but private instead of protected destructor
|
||||
////////////////////////////
|
||||
|
||||
#if defined(SHARED_PTR_WRAPPERS_IMPLEMENTED)
|
||||
|
||||
%shared_ptr(HiddenPrivateDestructor)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
%inline %{
|
||||
class HiddenPrivateDestructor {
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue