diff --git a/src/Val.cc b/src/Val.cc index 075e5805bd..3ea10d706c 100644 --- a/src/Val.cc +++ b/src/Val.cc @@ -666,7 +666,7 @@ void IntervalVal::ValDescribe(ODesc* d) const { using unit_word = std::pair; - constexpr std::array units = { + static const std::array units = { unit_word{ Days, "day" }, unit_word{ Hours, "hr" }, unit_word{ Minutes, "min" },