diff options
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 041003988..9cc21f23a 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -876,8 +876,8 @@ bool parse2Str(const std::string &args, std::string &str1, std::string &str2) { if (pos + 1 < args.length()) { - str1 = args.substr(0, pos).c_str(); - str2 = args.substr(pos + 1, args.length()).c_str(); + str1 = args.substr(0, pos); + str2 = args.substr(pos + 1, args.length()); isValid = true; } } |