fix unused argument warnings

This commit is contained in:
SweetId 2023-10-11 20:40:59 -04:00
parent 6d7ffe0873
commit 46fe2d296b
3 changed files with 5 additions and 5 deletions

View File

@ -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());

View File

@ -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");
}

View File

@ -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();
}
}