aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/echo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/echo.h')
-rw-r--r--tests/libsample/echo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/echo.h b/tests/libsample/echo.h
index cc35ccd1a..92038b1f0 100644
--- a/tests/libsample/echo.h
+++ b/tests/libsample/echo.h
@@ -37,6 +37,8 @@ public:
void doNothingWithConstBool(const bool hi) {}
void methodWithNamedArg(const Str& string = Str("")) {}
+ Str operator()(const Str& s, const int i) { return s + i; }
+
// These method are here just for compilation test purposes
Echo& operator<<(unsigned int item) { return *this; }
Echo& operator<<(signed int item) { return *this; }