diff --git a/Lib/intrusive_ptr.i b/Lib/intrusive_ptr.i index 7a686cfc5..43e78f986 100644 --- a/Lib/intrusive_ptr.i +++ b/Lib/intrusive_ptr.i @@ -27,11 +27,10 @@ namespace SWIG_INTRUSIVE_PTR_NAMESPACE { } %fragment("SWIG_intrusive_deleter", "header") { -template struct SWIG_intrusive_deleter -{ - void operator()(T * p) - { - if(p) intrusive_ptr_release(p); +template struct SWIG_intrusive_deleter { + void operator()(T *p) { + if (p) + intrusive_ptr_release(p); } }; }