aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/str.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-11 18:59:38 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-14 14:40:30 -0300
commitf516832ae986a42e7b01f2bcf01b1f1c76259718 (patch)
treefa3ed83eb631638c0bce2cddc095eac9a40d36ce /tests/libsample/str.h
parente750294ed669ec541a6d297ab4f8906e66204794 (diff)
MSVC complains about the missing operator< in Str when we use it on a std::list.
Diffstat (limited to 'tests/libsample/str.h')
-rw-r--r--tests/libsample/str.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libsample/str.h b/tests/libsample/str.h
index 9135d78a7..7d5f0e63d 100644
--- a/tests/libsample/str.h
+++ b/tests/libsample/str.h
@@ -64,6 +64,7 @@ public:
// nonsense operator just to test reverse operators
Str operator+(int number) const;
bool operator==(const Str& other) const;
+ bool operator<(const Str& other) const;
private:
void init(const char* cstr);