diff options
Diffstat (limited to 'DefinitionEx/Token.cpp')
-rw-r--r-- | DefinitionEx/Token.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DefinitionEx/Token.cpp b/DefinitionEx/Token.cpp index 2cc97b5..e61a1fb 100644 --- a/DefinitionEx/Token.cpp +++ b/DefinitionEx/Token.cpp @@ -40,7 +40,7 @@ Token::Token(const Token& rhs) { mLength = rhs.mLength; if (mLength < 8) { - strcpy_s(mSymbol, rhs.mSymbol); + strcpy(mSymbol, rhs.mSymbol); } else { mFullSymbol = new char[mLength + 1]; @@ -60,7 +60,7 @@ Token::Token(const char* s, int t, int k, int l, int c) { mLength = strlen(s); if (mLength < 8) { - strcpy_s(mSymbol, s); + strcpy(mSymbol, s); } else { mFullSymbol = new char[mLength + 1]; @@ -73,7 +73,7 @@ Token::Token(const Text& s, int t, int k, int l, int c) { mLength = s.length(); if (mLength < 8) { - strcpy_s(mSymbol, s.data()); + strcpy(mSymbol, s.data()); } else { mFullSymbol = new char[mLength + 1]; @@ -105,7 +105,7 @@ Token::operator = (const Token& rhs) mLength = rhs.mLength; if (mLength < 8) { - strcpy_s(mSymbol, rhs.mSymbol); + strcpy(mSymbol, rhs.mSymbol); } else { mFullSymbol = new char[mLength + 1]; |