Added copy constructor to LocalizedString so that a LocalizedString created by copying another does not crash in the destructor.

This commit is contained in:
Kyzentun Keeslala
2015-12-27 06:45:49 -07:00
parent b8929e7c24
commit 55bd774a4c
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ class LocalizedString
{
public:
LocalizedString( const RString& sGroup = "", const RString& sName = "" );
LocalizedString(LocalizedString const& other);
~LocalizedString();
void Load( const RString& sGroup, const RString& sName );
operator const RString &() const { return GetValue(); }