diff options
author | Paulo Alcantara <pcacjr@gmail.com> | 2012-01-23 16:00:11 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 16:50:33 -0300 |
commit | 43c3b4e7e876ebc7a38f76b948337166bb6eb985 (patch) | |
tree | 30764ec42064057a5585d4538dc0c032b784f63f /tests/libsample | |
parent | 01a092b1453aced87eb10454fb03ea2f9a085cf3 (diff) |
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>
Diffstat (limited to 'tests/libsample')
-rw-r--r-- | tests/libsample/handle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/handle.h b/tests/libsample/handle.h index 15fcc36d4..5e44bd061 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; } |