Skip to content
Snippets Groups Projects
Commit fe502934 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Fix test

parent 3d8426c8
No related branches found
No related tags found
2 merge requests!140armem/dev -> master,!139Refactor inheritance in armem/core
...@@ -781,7 +781,7 @@ struct CopyTest ...@@ -781,7 +781,7 @@ struct CopyTest
T t; T t;
T t2 = t.copy(); T t2 = t.copy();
if constexpr (std::is_base_of_v<armem::base::EntityInstanceBase<T>, T>) if constexpr (!std::is_base_of_v<armem::base::EntityInstanceBase<T>, T>)
{ {
t2 = t.copyEmpty(); t2 = t.copyEmpty();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment