diff options
| author | Martin Ridgers <[email protected]> | 2021-09-15 11:39:04 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-15 11:48:37 +0200 |
| commit | fc69469c5409601bd20b2fcc2775a0573c4a8074 (patch) | |
| tree | 73837e6a32ff1bcda57fc897f785563a411904ba /zencore/except.cpp | |
| parent | Wrong include for std::runtime_error (diff) | |
| download | zen-fc69469c5409601bd20b2fcc2775a0573c4a8074.tar.xz zen-fc69469c5409601bd20b2fcc2775a0573c4a8074.zip | |
Removed constexpr for anything that uses GetSize()
With the change from Ptr/Size to Ptr/EndPtr and the introduction of
GetSize(), there are some constexpr-marked methods that previously used
Size that now call GetSize(). GCC raises an error because GetSize() is
not a constexpr. If GetSize() is marked constexpt, MSVC raises an error
saying that GetSize() cannot be a constexpr. Only solution is to remove
the constexpr from anything calling GetSize() (which in turn cascades).
Diffstat (limited to 'zencore/except.cpp')
0 files changed, 0 insertions, 0 deletions