aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/str.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/str.h')
-rw-r--r--tests/libsample/str.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/str.h b/tests/libsample/str.h
index 52f46e6ba..1fe27ec8b 100644
--- a/tests/libsample/str.h
+++ b/tests/libsample/str.h
@@ -54,6 +54,8 @@ public:
char get_char(int pos) const;
bool set_char(int pos, char ch);
+ int toInt(bool* ok = 0, int base = 10) const;
+
void show() const;
int size() const { return m_str.size(); }