aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/oddbool.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-15 11:28:05 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-15 11:28:05 -0200
commit0a99e765efc8f86a00d0e2e1fb4e30df331fa3c3 (patch)
treefb2ec434c3567885e94125ff22561b8d546be837 /tests/libsample/oddbool.h
parent2ad0dcc5860d9e791e6036a525b0114b7106031b (diff)
Fix custom converters from libsample.
Diffstat (limited to 'tests/libsample/oddbool.h')
-rw-r--r--tests/libsample/oddbool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/oddbool.h b/tests/libsample/oddbool.h
index 0d2565761..60cf6a37d 100644
--- a/tests/libsample/oddbool.h
+++ b/tests/libsample/oddbool.h
@@ -42,7 +42,7 @@ class LIBSAMPLE_API OddBool
public:
inline explicit OddBool(bool b) : m_value(b) {}
- bool value() { return m_value; }
+ bool value() const { return m_value; }
inline OddBool operator!() const { return OddBool(!m_value); }