diff --git a/libs/B-luga-graphics/include/B-luga-graphics/GraphicsCustomTypes.hpp b/libs/B-luga-graphics/include/B-luga-graphics/GraphicsCustomTypes.hpp index 40e05c0..e4c1189 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/GraphicsCustomTypes.hpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/GraphicsCustomTypes.hpp @@ -51,9 +51,9 @@ namespace Types { }; struct Button { - Button(std::function &fct, const std::string &name = "") : callback(fct), name(name){}; + Button(std::function &fct, const std::string &name = "") : callback(fct), _name(name){}; std::function callback; - std::string name; + std::string _name; }; struct InputBox {