Revert "fix: optimization: Various PVS-Studio warnings"

This commit is contained in:
MihailRis 2024-08-02 14:51:44 +03:00 • committed by GitHub
parent a7ef7bb365
commit ba046a52c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
90 changed files with 259 additions and 274 deletions

View file

@ -146,7 +146,7 @@ void langs::load(const fs::path& resdir,
if (locale != fallback) {
load(resdir, locale, packs, *lang.get());
}
current = std::move(lang);
current.reset(lang.release());
}
void langs::setup(const fs::path& resdir,