From 49c002ee72e46c858532966df6ff59a26c8aab12 Mon Sep 17 00:00:00 2001 From: M Starch Date: Thu, 29 Feb 2024 18:39:41 -0800 Subject: [PATCH] Update File.cpp (#2555) --- Os/Posix/File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Os/Posix/File.cpp b/Os/Posix/File.cpp index b78ab80676..658cec466f 100644 --- a/Os/Posix/File.cpp +++ b/Os/Posix/File.cpp @@ -46,7 +46,7 @@ static_assert(std::numeric_limits::min() <= std::numeric_limit PosixFile::PosixFile(const PosixFile& other) { // Must properly duplicate the file handle this->m_handle.m_file_descriptor = ::dup(other.m_handle.m_file_descriptor); -}; +} PosixFile& PosixFile::operator=(const PosixFile& other) { if (this != &other) {