We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 418d5b7 + f3a8de5 commit 800531fCopy full SHA for 800531f
src/eckit/value/StringContent.cc
@@ -66,7 +66,7 @@ int StringContent::compare(const Content& other) const {
66
}
67
68
int StringContent::compareString(const StringContent& other) const {
69
- return ::strcmp(value_.c_str(), other.value_.c_str());
+ return value_.compare(other.value_);
70
71
72
void StringContent::value(std::string& s) const {
0 commit comments