Issue 508
[zxing.git] / cpp / core / src / zxing / common / Str.cpp
index e2122dc..6259f94 100644 (file)
@@ -26,7 +26,7 @@ using namespace std;
 String::String(const std::string &text) :
     text_(text) {
 }
-std::string& String::getText() {
+const std::string& String::getText() const {
   return text_;
 }