From 90feae14e708fbb0b313503a6e76cfbd77f94ce1 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 5 Oct 2023 21:46:34 +0800 Subject: ... --- src/common/CMakeLists.txt | 1 - src/common/platform/unix/ErrnoException.cpp | 5 ----- src/common/platform/unix/UnixFileStream.cpp | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 src/common/platform/unix/ErrnoException.cpp (limited to 'src') diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 6541f156..31ec94db 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -21,7 +21,6 @@ target_compile_definitions(CruBase PUBLIC $<$:CRU_DEBUG>) if (UNIX AND NOT EMSCRIPTEN) target_sources(CruBase PRIVATE - platform/unix/ErrnoException.cpp platform/unix/UnixFileStream.cpp ) diff --git a/src/common/platform/unix/ErrnoException.cpp b/src/common/platform/unix/ErrnoException.cpp deleted file mode 100644 index 06c42ff6..00000000 --- a/src/common/platform/unix/ErrnoException.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "cru/common/platform/unix/ErrnoException.h" - -namespace cru::platform::unix { -// Moved to Exception.cpp -} // namespace cru::platform::unix diff --git a/src/common/platform/unix/UnixFileStream.cpp b/src/common/platform/unix/UnixFileStream.cpp index c0373c5a..39870507 100644 --- a/src/common/platform/unix/UnixFileStream.cpp +++ b/src/common/platform/unix/UnixFileStream.cpp @@ -1,7 +1,7 @@ #include "cru/common/platform/unix/UnixFileStream.h" +#include "cru/common/Exception.h" #include "cru/common/Format.h" #include "cru/common/io/Stream.h" -#include "cru/common/platform/unix/ErrnoException.h" #include #include -- cgit v1.2.3