diff options
author | AnyOldName3 <krizdjali+gitlab@gmail.com> | 2020-12-09 22:45:46 +0000 |
---|---|---|
committer | AnyOldName3 <krizdjali+gitlab@gmail.com> | 2020-12-09 22:45:46 +0000 |
commit | 927a0771515946cd87818a58da10176e45e90995 (patch) | |
tree | 62150b08b1c670c1d8d414dd76377a366f2a7c09 | |
parent | 442292715e670783268c162d59e7b92290834dae (diff) |
Don't convert a vector literal to a pointer to a bool when true will workrecast_test_fix_c17
-rw-r--r-- | apps/openmw_test_suite/detournavigator/recastmeshobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/openmw_test_suite/detournavigator/recastmeshobject.cpp b/apps/openmw_test_suite/detournavigator/recastmeshobject.cpp index 6612f71a31..621db51a89 100644 --- a/apps/openmw_test_suite/detournavigator/recastmeshobject.cpp +++ b/apps/openmw_test_suite/detournavigator/recastmeshobject.cpp @@ -15,7 +15,7 @@ namespace struct DetourNavigatorRecastMeshObjectTest : Test { btBoxShape mBoxShape {btVector3(1, 2, 3)}; - btCompoundShape mCompoundShape {static_cast<bool>(btVector3(1, 2, 3))}; + btCompoundShape mCompoundShape {true}; btTransform mTransform {btQuaternion(btVector3(1, 2, 3), 1), btVector3(1, 2, 3)}; DetourNavigatorRecastMeshObjectTest() |