fix unused argument warnings
This commit is contained in:
parent
6d7ffe0873
commit
46fe2d296b
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue