minor formatting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
69890f4957
commit
baffa067dc
1 changed files with 4 additions and 5 deletions
|
|
@ -27,11 +27,10 @@ namespace SWIG_INTRUSIVE_PTR_NAMESPACE {
|
|||
}
|
||||
|
||||
%fragment("SWIG_intrusive_deleter", "header") {
|
||||
template<class T> struct SWIG_intrusive_deleter
|
||||
{
|
||||
void operator()(T * p)
|
||||
{
|
||||
if(p) intrusive_ptr_release(p);
|
||||
template<class T> struct SWIG_intrusive_deleter {
|
||||
void operator()(T *p) {
|
||||
if (p)
|
||||
intrusive_ptr_release(p);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue