summaryrefslogtreecommitdiff
path: root/smartptr.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-31 09:52:23 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-31 09:52:23 -0400
commit79ec88f5a68de169c22df87f0495f98d109ed772 (patch)
tree878965fb467cfe0ffa8c44923b3d0ad8ff864dcf /smartptr.h
parentd935fd80ba0aaf3e40f7023f7ec02cb32e27e688 (diff)
downloadcryptopp-git-79ec88f5a68de169c22df87f0495f98d109ed772.tar.gz
Fixed optimize string under GCC
Diffstat (limited to 'smartptr.h')
-rw-r--r--smartptr.h4
1 files changed, 2 insertions, 2 deletions
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 <class T> simple_ptr<T>::~simple_ptr()
}
#if GCC_OPTIMIZE_AWARE
-# pragma GCC optimize pop_options
+# pragma GCC pop_options
#endif
template <class T> class member_ptr