aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/str.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/str.cpp b/common/str.cpp
index 0d2d3613f5..0313e0ccd4 100644
--- a/common/str.cpp
+++ b/common/str.cpp
@@ -140,7 +140,7 @@ String &String::operator += (char c) {
return *this;
}
-char lastChar() const {
+char String::lastChar() const {
return (_len > 0) ? _str[_len-1] : 0;
}