summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Taaki <genjix@riseup.net>2014-04-06 16:08:47 (GMT)
committer Amir Taaki <genjix@riseup.net>2014-04-06 16:08:47 (GMT)
commitf538c13d256f3e12b3584e95d8be179106eadc26 (patch)
tree9c16e0fc51cb55d8f10dc5a476fe4e8167e85d44
parent5ad17757f72e1723f7d51b0d0f8c779c5fbcd9f2 (diff)
remove constexpr from base_value(opcode) in script.cpp
-rw-r--r--src/script.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 44e3d61..2d9aa3c 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -43,11 +43,6 @@ constexpr size_t op_counter_limit = 201;
// Convert opcode to its actual numeric value.
template<typename OpCode>
-#ifndef _MSC_VER
-// Workaround for CTP_Nov2013 compile error:
-// std::underlying_type<_Ty>::type': type not allowed for 'constexpr'
-constexpr
-#endif
auto base_value(OpCode code)
-> typename std::underlying_type<OpCode>::type
{