summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-17 23:03:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-17 23:03:51 +0300
commitdb00f34d1c385c8ec007a077c2f78aef764d3bbb (patch)
tree8004470e320d9dc625d6f78c479b94ac4cc75177 /src/localconsts.h
parent3c41c3e18872c1fccfc9a83343c81e97c5fa5787 (diff)
downloadplus-db00f34d1c385c8ec007a077c2f78aef764d3bbb.tar.gz
plus-db00f34d1c385c8ec007a077c2f78aef764d3bbb.tar.bz2
plus-db00f34d1c385c8ec007a077c2f78aef764d3bbb.tar.xz
plus-db00f34d1c385c8ec007a077c2f78aef764d3bbb.zip
Add a bit constexpr.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 7fa4fc381..91c2bb904 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -23,6 +23,7 @@
#define nullptr 0
#define final
#define override
+#define constexpr
#define A_DELETE(func)
#define A_DELETE_COPY(func)
#else
@@ -32,6 +33,7 @@
#if GCC_VERSION < 40700
#define final
#define override
+#define constexpr
//#define A_DELETE
//#define A_DELETE_COPY
#endif