summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_widgets_imagebutton.cpp
blob: 9887031881b5f624b420951ed84bc0df25147d87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/widgets/imagebutton.cpp.orig	2023-08-08 09:23:20 UTC
+++ components/widgets/imagebutton.cpp
@@ -34,7 +34,7 @@ namespace Gui
         updateImage();
     }
 
-    void ImageButton::setPropertyOverride(const std::string &_key, const std::string &_value)
+    void ImageButton::setPropertyOverride(std::string_view _key, std::string_view _value)
     {
         if (_key == "ImageHighlighted")
             mImageHighlighted = _value;