aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/str.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-20 15:43:08 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-20 15:43:08 -0200
commitd269265cebf40e2da5fb9ee4904d3ec815f06e80 (patch)
tree92f38e3fb48513a0144737bbafd51082995a0b5c /tests/libsample/str.h
parentf7f4da79cf71242a494ca407ccd26d64b1735cc5 (diff)
Added another constructor to Str class, just to test the new char behaviour.
The new behaviour consists in accepting numbers or 1-sized strings when a char is expected.
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 1fe27ec8b..7cf62acbe 100644
--- a/tests/libsample/str.h
+++ b/tests/libsample/str.h
@@ -42,6 +42,7 @@ class LIBSAMPLE_API Str
{
public:
Str(const Str& s);
+ Str(char c);
Str(const char* cstr = "");
~Str();