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