blob: 32d8549ae89fab1ab0f9d0d42e31c0a4f436dc43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- components/myguiplatform/scalinglayer.cpp.orig 2023-08-08 09:23:20 UTC
+++ components/myguiplatform/scalinglayer.cpp
@@ -126,8 +126,8 @@ namespace osgMyGUI
{
if (info->getName() == "Property")
{
- const std::string& key = info->findAttribute("key");
- const std::string& value = info->findAttribute("value");
+ const auto key = info->findAttribute("key");
+ const auto value = info->findAttribute("value");
if (key == "Size")
{
|