From a6a1825b457f6fcd01db0d837dc8359ef5d61e24 Mon Sep 17 00:00:00 2001 From: M Starch Date: Thu, 29 Feb 2024 18:37:19 -0800 Subject: [PATCH] Update File.cpp --- 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) {