COMMON: Make the operator=(String) function be a const reference instead

This commit is contained in:
Matthew Hoops 2011-03-07 13:11:28 -05:00
parent 4dba6962f5
commit 826197cf76
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}