Skip to content

Commit 3101971

Browse files
committed
Add better comments
1 parent 72c4b63 commit 3101971

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Core/GameEngine/Include/Common/AsciiString.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ class AsciiString
149149
AsciiString(const char* s);
150150

151151
/**
152-
Constructor -- from a literal string and max length.
152+
Constructs an AsciiString with the given string and length.
153+
The length must not be larger than the actual string length.
153154
*/
154155
AsciiString(const char* s, int len);
155156

Core/GameEngine/Include/Common/UnicodeString.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ class UnicodeString
149149
explicit UnicodeString(const WideChar* s);
150150

151151
/**
152-
Constructor -- from a literal string and max length.
152+
Constructs an UnicodeString with the given string and length.
153+
The length must not be larger than the actual string length.
153154
*/
154155
UnicodeString(const WideChar* s, int len);
155156

0 commit comments

Comments
 (0)