diff --git a/src/state.cpp b/src/state.cpp index 0fdcc735..9edeebd9 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -10,5 +10,5 @@ State::State() { auto f = std::make_unique(); - create = f; + create = std::move(f); }