From ff612876c50d43a6e26d9db47ae3476635c19c49 Mon Sep 17 00:00:00 2001 From: Johanna Amann Date: Tue, 29 Oct 2019 11:42:45 +0100 Subject: [PATCH] Revert "Fix compilation on OS-X." This reverts commit cde28074a169212aa8f38fdac225ecbeac4e642d. We now have a c++14 compiler. Fixes GH-626 --- src/Val.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Val.cc b/src/Val.cc index 3ea10d706c..075e5805bd 100644 --- a/src/Val.cc +++ b/src/Val.cc @@ -666,7 +666,7 @@ void IntervalVal::ValDescribe(ODesc* d) const { using unit_word = std::pair; - static const std::array units = { + constexpr std::array units = { unit_word{ Days, "day" }, unit_word{ Hours, "hr" }, unit_word{ Minutes, "min" },