Selaa lähdekoodia

stl: std::stringstream

skypjack 1 kuukausi sitten
vanhempi
commit
7a42ec61b3
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 2 0
      src/entt/stl/sstream.hpp
  2. 1 1
      src/entt/tools/davey.hpp

+ 2 - 0
src/entt/stl/sstream.hpp

@@ -6,6 +6,8 @@
 /*! @cond ENTT_INTERNAL */
 namespace entt::stl {
 
+using std::stringstream;
+
 } // namespace entt::stl
 /*! @endcond */
 

+ 1 - 1
src/entt/tools/davey.hpp

@@ -60,7 +60,7 @@ static void present_element(const meta_any &obj, OnEntity on_entity) {
             }
         } else if(type.is_arithmetic()) {
             if(type.info() == type_id<bool>()) {
-                std::stringstream buffer{};
+                stl::stringstream buffer{};
                 buffer << stl::boolalpha << elem.template cast<bool>();
                 ImGui::Text("%s: %s", label, buffer.str().data());
             } else if(type.info() == type_id<char>()) {