diff options
author | Chris Robinson <[email protected]> | 2020-10-23 20:00:09 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-10-23 20:00:09 -0700 |
commit | 6de861a75c6eafc43d9d017282d7e53a320bcdbc (patch) | |
tree | 1c5a30bd7539e4470ceb6d8bd46148aa7d88bb4e | |
parent | 966c4498d4e8024f821cb35ceba934dba10a1922 (diff) |
Remove a constexpr that needs C++17
-rw-r--r-- | common/vecmat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/vecmat.h b/common/vecmat.h index dbf51009..cdf47125 100644 --- a/common/vecmat.h +++ b/common/vecmat.h @@ -58,7 +58,7 @@ public: : mVals{{{{aa, ab, ac, ad}}, {{ba, bb, bc, bd}}, {{ca, cb, cc, cd}}, {{da, db, dc, dd}}}} { } - constexpr std::array<float,4>& operator[](size_t idx) noexcept { return mVals[idx]; } + std::array<float,4>& operator[](size_t idx) noexcept { return mVals[idx]; } constexpr const std::array<float,4>& operator[](size_t idx) const noexcept { return mVals[idx]; } void setRow(size_t idx, float a, float b, float c, float d) noexcept |