summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt3
-rw-r--r--zp/include/zp/bs4
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index e72a0e5..58cd9d0 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -121,6 +121,9 @@
* Fix installation target installating old private header directory;
+* Use tagging for development versions;
+* Fix minval and maxval;
+
# 0.0.2
* Migrate to CMake;
diff --git a/zp/include/zp/bs b/zp/include/zp/bs
index b445aca..77b3352 100644
--- a/zp/include/zp/bs
+++ b/zp/include/zp/bs
@@ -96,7 +96,7 @@ namespace zp {
#endif
#if zp_std_cxx11
- template<typename typ> struct minval {constexpr static auto val = {};};
+ template<typename typ> struct minval {constexpr static typ val = {};};
template<> struct minval<bool> {constexpr static auto val = false;};
template<> struct minval<char> {constexpr static auto val = zp_minvalc;};
@@ -122,7 +122,7 @@ namespace zp {
template<> struct minval<long long unsigned> {constexpr static auto val = zp_minvalllu;};
#endif
- template<typename typ> struct maxval {constexpr static auto val = {};};
+ template<typename typ> struct maxval {constexpr static typ val = {};};
template<> struct maxval<bool> {constexpr static auto val = true;};
template<> struct maxval<char> {constexpr static auto val = zp_maxvalc;};