From 852044f151e40e2a78889ef512b28d88bbe346cd Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Sat, 6 Sep 2025 21:02:41 +0200 Subject: [PATCH] Remove stb image shim header --- 3rdparty/stb_image_wrapper.cpp | 2 +- 3rdparty/stb_library.hpp | 12 ------------ tasks/example_processes/tests/functional/main.cpp | 2 +- tasks/example_threads/tests/functional/main.cpp | 2 +- 4 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 3rdparty/stb_library.hpp diff --git a/3rdparty/stb_image_wrapper.cpp b/3rdparty/stb_image_wrapper.cpp index d0f27f6b3..6cba77fbf 100644 --- a/3rdparty/stb_image_wrapper.cpp +++ b/3rdparty/stb_image_wrapper.cpp @@ -1,3 +1,3 @@ #define STB_IMAGE_IMPLEMENTATION -#include "stb_library.hpp" +#include "stb/stb_image.h" diff --git a/3rdparty/stb_library.hpp b/3rdparty/stb_library.hpp deleted file mode 100644 index 65e6c1c50..000000000 --- a/3rdparty/stb_library.hpp +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#if defined(__clang__) -# pragma clang diagnostic push -# pragma clang diagnostic ignored "-Wcast-align" -#endif - -#include "stb/stb_image.h" - -#if defined(__clang__) -# pragma clang diagnostic pop -#endif diff --git a/tasks/example_processes/tests/functional/main.cpp b/tasks/example_processes/tests/functional/main.cpp index 2f89b01fd..d3f5f3795 100644 --- a/tasks/example_processes/tests/functional/main.cpp +++ b/tasks/example_processes/tests/functional/main.cpp @@ -1,11 +1,11 @@ #include +#include #include #include #include #include #include -#include #include #include #include diff --git a/tasks/example_threads/tests/functional/main.cpp b/tasks/example_threads/tests/functional/main.cpp index 10aee7275..392ac1ee8 100644 --- a/tasks/example_threads/tests/functional/main.cpp +++ b/tasks/example_threads/tests/functional/main.cpp @@ -1,11 +1,11 @@ #include +#include #include #include #include #include #include -#include #include #include #include