diff --git a/include/NazaraEditor/Core/Reflection/Core.hpp b/include/NazaraEditor/Core/Reflection/Core.hpp index 7bdb26e..079fa97 100644 --- a/include/NazaraEditor/Core/Reflection/Core.hpp +++ b/include/NazaraEditor/Core/Reflection/Core.hpp @@ -124,7 +124,7 @@ namespace Nz namespace EditorImgui { - inline bool Begin(entt::handle& obj, const std::string& name, const std::string& tooltip) + inline bool Begin(entt::handle& /*obj*/, const std::string& name, const std::string& /*tooltip*/) { std::string n = "Entity " + name; return ImGui::TreeNode(n.c_str()); diff --git a/include/NazaraEditor/Core/Reflection/Graphics.hpp b/include/NazaraEditor/Core/Reflection/Graphics.hpp index 9c01b41..2b37d38 100644 --- a/include/NazaraEditor/Core/Reflection/Graphics.hpp +++ b/include/NazaraEditor/Core/Reflection/Graphics.hpp @@ -32,7 +32,7 @@ namespace Nz namespace EditorImgui { - inline bool Begin(Nz::LightComponent::LightEntry& obj, const std::string& name, const std::string& tooltip) + inline bool Begin(Nz::LightComponent::LightEntry& /*obj*/, const std::string& /*name*/, const std::string& /*tooltip*/) { return false; } @@ -40,7 +40,7 @@ namespace Nz inline void End(Nz::LightComponent::LightEntry&) { } - inline bool Begin(Nz::LightComponent& obj, const std::string& name, const std::string& tooltip) + inline bool Begin(Nz::LightComponent& /*obj*/, const std::string& /*name*/, const std::string& /*tooltip*/) { return ImGui::TreeNode("LightComponent"); } diff --git a/include/NazaraEditor/Core/Reflection/Utility.hpp b/include/NazaraEditor/Core/Reflection/Utility.hpp index 5e37eea..07d6d4e 100644 --- a/include/NazaraEditor/Core/Reflection/Utility.hpp +++ b/include/NazaraEditor/Core/Reflection/Utility.hpp @@ -24,12 +24,12 @@ namespace Nz namespace EditorImgui { - inline bool Begin(Nz::NodeComponent& obj, const std::string& name, const std::string& tooltip) + inline bool Begin(Nz::NodeComponent& /*obj*/, const std::string& /*name*/, const std::string& /*tooltip*/) { return ImGui::TreeNode("NodeComponent"); } - inline void End(Nz::NodeComponent&) { + inline void End(Nz::NodeComponent& /*obj*/) { ImGui::TreePop(); } }