Coverity fixes.

Primarily using std::move in more places.
This commit is contained in:
2023-10-19 21:43:38 -07:00
parent 9494871145
commit f896a108dd
9 changed files with 19 additions and 17 deletions

View File

@@ -35,7 +35,7 @@ Assert(bool condition, std::string message)
{
#if defined(NDEBUG) || defined(SCSL_NOEXCEPT)
if (!condition) {
throw AssertionFailed(message);
throw AssertionFailed(std::move(message));
}
#else
if (!condition) {