1
0
skypjack 4 долоо хоног өмнө
parent
commit
bcbde7b1eb

+ 0 - 1
CMakeLists.txt

@@ -206,7 +206,6 @@ if(ENTT_INCLUDE_HEADERS)
         stl/functional.hpp
         stl/functional.hpp
         stl/iterator.hpp
         stl/iterator.hpp
         stl/memory.hpp
         stl/memory.hpp
-        stl/ostream.hpp
         stl/string.hpp
         stl/string.hpp
         stl/string_view.hpp
         stl/string_view.hpp
         stl/tuple.hpp
         stl/tuple.hpp

+ 0 - 1
src/entt/entt.hpp

@@ -79,7 +79,6 @@ namespace entt::stl {}
 #include "stl/functional.hpp"
 #include "stl/functional.hpp"
 #include "stl/iterator.hpp"
 #include "stl/iterator.hpp"
 #include "stl/memory.hpp"
 #include "stl/memory.hpp"
-#include "stl/ostream.hpp"
 #include "stl/string.hpp"
 #include "stl/string.hpp"
 #include "stl/string_view.hpp"
 #include "stl/string_view.hpp"
 #include "stl/tuple.hpp"
 #include "stl/tuple.hpp"

+ 0 - 18
src/entt/stl/ostream.hpp

@@ -1,18 +0,0 @@
-#ifndef ENTT_STL_OSTREAM_HPP
-#define ENTT_STL_OSTREAM_HPP
-
-/*! @cond ENTT_INTERNAL */
-#if __has_include(<entt/ext/stl/ostream.hpp>)
-#    include <entt/ext/stl/ostream.hpp>
-#else
-#    include <ostream>
-
-namespace entt::stl {
-
-using std::ostream;
-
-} // namespace entt::stl
-#endif
-/*! @endcond */
-
-#endif

+ 0 - 1
test/CMakeLists.txt

@@ -403,7 +403,6 @@ SETUP_BASIC_TEST(
         entt/stl_ext/functional.cpp
         entt/stl_ext/functional.cpp
         entt/stl_ext/iterator.cpp
         entt/stl_ext/iterator.cpp
         entt/stl_ext/memory.cpp
         entt/stl_ext/memory.cpp
-        entt/stl_ext/ostream.cpp
         entt/stl_ext/string.cpp
         entt/stl_ext/string.cpp
         entt/stl_ext/string_view.cpp
         entt/stl_ext/string_view.cpp
         entt/stl_ext/tuple.cpp
         entt/stl_ext/tuple.cpp

+ 0 - 6
test/entt/stl_ext/ostream.cpp

@@ -1,6 +0,0 @@
-#include <gtest/gtest.h>
-#include <entt/stl/ostream.hpp>
-
-TEST(OStream, HasInclude) {
-    static_assert(entt::stl::entt_ext_ostream, "Header not properly included");
-}

+ 0 - 13
test/include/entt/ext/stl/ostream.hpp

@@ -1,13 +0,0 @@
-#ifndef ENTT_EXT_STL_OSTREAM_HPP
-#define ENTT_EXT_STL_OSTREAM_HPP
-
-/*! @cond ENTT_INTERNAL */
-#include <ostream>
-
-namespace entt::stl {
-using namespace std;
-static constexpr auto entt_ext_ostream = true;
-} // namespace entt::stl
-/*! @endcond */
-
-#endif