aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/CMakeLists.txt1
-rw-r--r--src/common/platform/unix/ErrnoException.cpp5
-rw-r--r--src/common/platform/unix/UnixFileStream.cpp2
3 files changed, 1 insertions, 7 deletions
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 $<$<CONFIG:Debug>: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 <fcntl.h>
#include <sys/fcntl.h>