Revert "Fix compilation on OS-X."

This reverts commit cde28074a1.

We now have a c++14 compiler.

Fixes GH-626
This commit is contained in:
Johanna Amann 2019-10-29 11:42:45 +01:00
parent 6f3a695b3f
commit ff612876c5

View file

@ -666,7 +666,7 @@ void IntervalVal::ValDescribe(ODesc* d) const
{
using unit_word = std::pair<double, const char*>;
static const std::array<unit_word, 6> units = {
constexpr std::array<unit_word, 6> units = {
unit_word{ Days, "day" },
unit_word{ Hours, "hr" },
unit_word{ Minutes, "min" },