From a95783431c8cbc99981692cc0978af95cb3777af Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 25 Sep 2008 20:40:41 +0000 Subject: Fix non-Mac break from r2603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2604 0039d316-1c4b-4281-b951-d872f2087c98 --- base/scoped_nsautorelease_pool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'base/scoped_nsautorelease_pool.h') 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(); -- cgit v1.1