From 648486baabbc0b03dd0effb3be231ee5139bc50f Mon Sep 17 00:00:00 2001 From: Martijn Otto Date: Wed, 25 May 2016 11:34:35 +0200 Subject: Fix move constructor Value and fix the hash iterator --- include/valueiterator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/valueiterator.h b/include/valueiterator.h index 9e51f15..12fd67a 100644 --- a/include/valueiterator.h +++ b/include/valueiterator.h @@ -31,7 +31,7 @@ public: * Constructor * @param impl Implementation iterator */ - ValueIterator(ValueIteratorImpl *impl) : _impl(impl) {} + ValueIterator(ValueIteratorImpl *impl); /** * Copy constructor @@ -117,9 +117,9 @@ public: private: /** * Pointer to the actual implementation - * @var std::unique_ptr + * @var std::unique_ptr */ - ValueIteratorImpl *_impl; + std::unique_ptr _impl; }; -- cgit v1.2.3