summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--zp/include/zp/zp4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 8faa72c..6e4ee6e 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -168,6 +168,7 @@
* Use structure for version constant (use oldstyle in C);
* Use maxval for inf fallback;
+* Fix trtval;
# 0.0.2
diff --git a/zp/include/zp/zp b/zp/include/zp/zp
index 32e13be..977be42 100644
--- a/zp/include/zp/zp
+++ b/zp/include/zp/zp
@@ -24,9 +24,9 @@
translation units has undefined behaviour.
*/
#if zp_std_cxx11
-#define zp_prv_trtval (typ) constexpr typ
+#define zp_prv_trtval(typ) constexpr typ
#else
-#define zp_prv_trtval (typ) static typ const
+#define zp_prv_trtval(typ) static typ const
#endif
namespace zp {