diff --git a/storage/country_tree_helpers.cpp b/storage/country_tree_helpers.cpp index 76d27c3383..c9e7b557c1 100644 --- a/storage/country_tree_helpers.cpp +++ b/storage/country_tree_helpers.cpp @@ -3,6 +3,7 @@ #include "base/logging.hpp" #include +#include namespace storage { @@ -50,6 +51,6 @@ std::optional LoadCountriesFromFile(std::string const & path) if (res == -1) return {}; - return countries; + return std::optional(std::move(countries)); } } // namespace storage