From 007a4ec3d61a975dc7253f0237c1e3fc8b2d99f8 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Mon, 9 Oct 2023 01:09:29 -0400 Subject: [PATCH] Tweaks --- indra/llcommon/llfile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/llfile.h b/indra/llcommon/llfile.h index 6006e12d9e2..58926b685c2 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); -- GitLab