Skip to content

Commit 8f0a388

Browse files
authored
refactor(string): Remove explicit UnicodeString constructor (#1495)
1 parent a34fd16 commit 8f0a388

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Core/GameEngine/Include/Common/UnicodeString.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ class UnicodeString
142142
/**
143143
Constructor -- from a literal string. Constructs an UnicodeString
144144
with the given string. Note that a copy of the string is made;
145-
the input ptr is not saved. Note also that this is declared
146-
'explicit' to avoid implicit conversions from const-WideChar-*
147-
(e.g., as input arguments).
145+
the input ptr is not saved.
146+
Note that this is no longer explicit, as the conversion is almost
147+
always wanted, anyhow.
148148
*/
149-
explicit UnicodeString(const WideChar* s);
149+
UnicodeString(const WideChar* s);
150150

151151
/**
152152
Destructor. Not too exciting... clean up the works and such.

0 commit comments

Comments
 (0)