summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-27 15:56:58 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-28 15:12:05 -0200
commitaee6f385b5ffbed54df2e18ece072a7cc3281768 (patch)
tree75679b25044dd50c5cc012088d9752e596ed9b8a /tests
parent45f10c2264bef5c25e493bb6f70ef6355a7f94d1 (diff)
downloadshiboken-aee6f385b5ffbed54df2e18ece072a7cc3281768.tar.gz
shiboken-aee6f385b5ffbed54df2e18ece072a7cc3281768.tar.xz
shiboken-aee6f385b5ffbed54df2e18ece072a7cc3281768.zip
Simplifies the generated code removing the use of std::auto_ptr.
Diffstat (limited to 'tests')
-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 3e607cdd..40aed304 100644
--- a/tests/libsample/echo.h
+++ b/tests/libsample/echo.h
@@ -33,6 +33,8 @@ public:
Echo(){}
~Echo(){}
+ void doNothingWithConstBool(const bool hi) {}
+
// These method are here just for compilation test purposes
Echo& operator<<(unsigned int item) { return *this; }
Echo& operator<<(signed int item) { return *this; }