diff --git a/indra/llcommon/llfile.h b/indra/llcommon/llfile.h index 6006e12d9e21d7db53ce34422b3dbcf7bf60c64c..58926b685c2424aa8c513decbdb925e5f5d81717 100644 --- a/indra/llcommon/llfile.h +++ b/indra/llcommon/llfile.h @@ -113,7 +113,7 @@ class LLUniqueFile // no copy LLUniqueFile(const LLUniqueFile&) = delete; // move construction - LLUniqueFile(LLUniqueFile&& other) + LLUniqueFile(LLUniqueFile&& other) noexcept { mFileHandle = other.mFileHandle; other.mFileHandle = nullptr; @@ -134,7 +134,7 @@ class LLUniqueFile // copy assignment deleted LLUniqueFile& operator=(const LLUniqueFile&) = delete; // move assignment - LLUniqueFile& operator=(LLUniqueFile&& other) + LLUniqueFile& operator=(LLUniqueFile&& other) noexcept { close(); std::swap(mFileHandle, other.mFileHandle);