summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-04 00:27:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-04 00:27:26 +0200
commite1b46c3fed098e400ff532178808037f07245604 (patch)
tree4ec94baadc0c6045ac4fd05f9817cd75320cee12
parent9bb683fe25e6c7cdaa50276433628dc0e1073f9f (diff)
workaround msvc ICE
-rw-r--r--test/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/entity.cpp b/test/entity.cpp
index 783721f1..1aa65f3f 100644
--- a/test/entity.cpp
+++ b/test/entity.cpp
@@ -255,7 +255,7 @@ void test_range2()
{
constexpr auto x = TestAccessors{};
constexpr auto rʹ = m_foo.get_range(x);
- constexpr auto A = m_foo.erased();
+ const auto A = m_foo.erased();
auto r = A.get_range(&x);
auto i = r.convert<int>();
fm_assert(i.second == rʹ.max);