summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@gmail.com>2012-01-23 16:00:11 -0300
committerPaulo Alcantara <pcacjr@gmail.com>2012-01-23 16:04:21 -0300
commit2c198ea403aa6c374bc062f85ac95b61acbb87ae (patch)
treed2a29a39406b47d3b11be6a15cbea2727efbb739
parentde86825f7a0fc0315165eae37d005c6e69d5bd95 (diff)
downloadshiboken-2c198ea403aa6c374bc062f85ac95b61acbb87ae.tar.gz
shiboken-2c198ea403aa6c374bc062f85ac95b61acbb87ae.tar.xz
shiboken-2c198ea403aa6c374bc062f85ac95b61acbb87ae.zip
Remove ambiguous constructor from libsample's HandleHolder.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org> Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
-rw-r--r--tests/libsample/handle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/handle.h b/tests/libsample/handle.h
index 15fcc36d..5e44bd06 100644
--- a/tests/libsample/handle.h
+++ b/tests/libsample/handle.h
@@ -40,7 +40,7 @@ class LIBSAMPLE_API HandleHolder
{
public:
explicit HandleHolder(HANDLE ptr = 0) : m_handle(ptr) {}
- explicit HandleHolder(Foo::HANDLE val = 0): m_handle2(val) {}
+ explicit HandleHolder(Foo::HANDLE val): m_handle2(val) {}
inline void set(HANDLE ptr) { m_handle = m_handle; }
inline void set(const Foo::HANDLE& val) { m_handle2 = val; }