From 1e32baaf7eb0a118aadeece9e78235f297833a60 Mon Sep 17 00:00:00 2001 From: Kitetsu Date: Sun, 5 Nov 2023 18:12:02 +0100 Subject: [PATCH] BLUGA-GRAPHICS: Fix compilation --- .../include/B-luga-graphics/GraphicsCustomTypes.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {