From d269265cebf40e2da5fb9ee4904d3ec815f06e80 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Wed, 20 Jan 2010 15:43:08 -0200 Subject: 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. --- tests/libsample/str.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libsample/str.h') 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(); -- cgit v1.2.3