diff options
author | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
commit | f21a844f60ae6c74fcf1fddca32461acce3c1ee0 (patch) | |
tree | 56d79f94966870db1cecd65a7264510a25fd1cba /source/Core/ConstString.cpp | |
parent | 37d22554be9f5a677dad2a95b7ef22fe59c66a8a (diff) |
Notes
Diffstat (limited to 'source/Core/ConstString.cpp')
-rw-r--r-- | source/Core/ConstString.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Core/ConstString.cpp b/source/Core/ConstString.cpp index 875169428d2a5..ce6e51108db5a 100644 --- a/source/Core/ConstString.cpp +++ b/source/Core/ConstString.cpp @@ -259,8 +259,8 @@ int ConstString::Compare (const ConstString& lhs, const ConstString& rhs) { // If the iterators are the same, this is the same string - register const char *lhs_cstr = lhs.m_string; - register const char *rhs_cstr = rhs.m_string; + const char *lhs_cstr = lhs.m_string; + const char *rhs_cstr = rhs.m_string; if (lhs_cstr == rhs_cstr) return 0; if (lhs_cstr && rhs_cstr) @@ -319,7 +319,7 @@ bool ConstString::GetMangledCounterpart (ConstString &counterpart) const { counterpart.m_string = StringPool().GetMangledCounterpart(m_string); - return counterpart; + return (bool)counterpart; } void |