diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-05-30 15:41:36 +0200 |
---|---|---|
committer | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-05-30 15:41:36 +0200 |
commit | cb3bd8865aa0f9fb8a247ea595cf1973057ba91f (patch) | |
tree | 5694572bbbb030ab1bd547455c4215034cf120de /indra/llcommon/llfile.h | |
parent | c082f6f67a6dcd3437d1f2413932fef8cdf7de07 (diff) |
Fix a bunch of uninitialized variable warnings that showed up in Visual Studio
Diffstat (limited to 'indra/llcommon/llfile.h')
-rw-r--r-- | indra/llcommon/llfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llfile.h b/indra/llcommon/llfile.h index 08a008c19a..2564671b13 100644 --- a/indra/llcommon/llfile.h +++ b/indra/llcommon/llfile.h @@ -97,7 +97,7 @@ public: // no copy LLUniqueFile(const LLUniqueFile&) = delete; // move construction - LLUniqueFile(LLUniqueFile&& other) + LLUniqueFile(LLUniqueFile&& other) noexcept { mFileHandle = other.mFileHandle; other.mFileHandle = nullptr; @@ -118,7 +118,7 @@ public: // 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); |