fix unused argument warnings
This commit is contained in:
@@ -124,7 +124,7 @@ namespace Nz
|
|||||||
|
|
||||||
namespace EditorImgui
|
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;
|
std::string n = "Entity " + name;
|
||||||
return ImGui::TreeNode(n.c_str());
|
return ImGui::TreeNode(n.c_str());
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ namespace Nz
|
|||||||
|
|
||||||
namespace EditorImgui
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,7 @@ namespace Nz
|
|||||||
inline void End(Nz::LightComponent::LightEntry&) {
|
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");
|
return ImGui::TreeNode("LightComponent");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,12 +24,12 @@ namespace Nz
|
|||||||
|
|
||||||
namespace EditorImgui
|
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");
|
return ImGui::TreeNode("NodeComponent");
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void End(Nz::NodeComponent&) {
|
inline void End(Nz::NodeComponent& /*obj*/) {
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user