aboutsummaryrefslogtreecommitdiff
path: root/common/winexe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/winexe.cpp')
-rw-r--r--common/winexe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/winexe.cpp b/common/winexe.cpp
index de53ae6490..ea96cee4a0 100644
--- a/common/winexe.cpp
+++ b/common/winexe.cpp
@@ -28,8 +28,8 @@
namespace Common {
-WinResourceID &WinResourceID::operator=(String string) {
- _name = string;
+WinResourceID &WinResourceID::operator=(const String &x) {
+ _name = x;
_idType = kIDTypeString;
return *this;
}