summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_widgets_imagebutton.hpp
blob: 617e49ac50aca52c61ff565a1482b686e8c75184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/widgets/imagebutton.hpp.orig	2023-08-08 09:23:20 UTC
+++ components/widgets/imagebutton.hpp
@@ -31,7 +31,7 @@ namespace Gui
         static bool sDefaultNeedKeyFocus;
 
     protected:
-        void setPropertyOverride(const std::string& _key, const std::string& _value) override;
+        void setPropertyOverride(std::string_view _key, std::string_view _value) override;
         void onMouseLostFocus(MyGUI::Widget* _new) override;
         void onMouseSetFocus(MyGUI::Widget* _old) override;
         void onMouseButtonPressed(int _left, int _top, MyGUI::MouseButton _id) override;