diff options
-rw-r--r-- | base/scoped_nsautorelease_pool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/scoped_nsautorelease_pool.h b/base/scoped_nsautorelease_pool.h index dff5362..0e779af 100644 --- a/base/scoped_nsautorelease_pool.h +++ b/base/scoped_nsautorelease_pool.h @@ -26,8 +26,10 @@ namespace base { // effects. This allows it to be used directly in cross-platform code without // ugly #ifdefs. class ScopedNSAutoreleasePool { -#if defined(OS_MACOSX) public: +#if !defined(OS_MACOSX) + ScopedNSAutoreleasePool() {} +#else // OS_MACOSX ScopedNSAutoreleasePool(); ~ScopedNSAutoreleasePool(); |