skypjack преди 3 седмици
родител
ревизия
682184ba08
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 2 0
      src/entt/stl/ios.hpp
  2. 1 1
      src/entt/tools/davey.hpp

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

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

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

@@ -61,7 +61,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{};
-                buffer << std::boolalpha << elem.template cast<bool>();
+                buffer << stl::boolalpha << elem.template cast<bool>();
                 ImGui::Text("%s: %s", label, buffer.str().data());
             } else if(type.info() == type_id<char>()) {
                 ImGui::Text("%s: %c", label, elem.template cast<char>());