From 79ec88f5a68de169c22df87f0495f98d109ed772 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 31 Jul 2015 09:52:23 -0400 Subject: Fixed optimize string under GCC --- smartptr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smartptr.h') diff --git a/smartptr.h b/smartptr.h index 5378eeb8..82d361f7 100644 --- a/smartptr.h +++ b/smartptr.h @@ -46,7 +46,7 @@ private: }; #if GCC_OPTIMIZE_AWARE -# pragma GCC optimize push_options +# pragma GCC push_options # pragma GCC optimize ("-O0") #endif @@ -58,7 +58,7 @@ template simple_ptr::~simple_ptr() } #if GCC_OPTIMIZE_AWARE -# pragma GCC optimize pop_options +# pragma GCC pop_options #endif template class member_ptr -- cgit v1.2.1