commit | e4b2238b33c05d491257ea418498b4c5fcca2268 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Jun 10 14:37:24 2018 -0400 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Mon Jun 11 20:26:47 2018 -0400 |
tree | 61dfdddb6cc16fd7f2a10ac96cc5c8a41bcc3868 | |
parent | 17057444687d94dc976789ccc14294036332bb0d [diff] [blame] |
Improve and simplify code with modern C++ features Change-Id: I83bf5513c2a1f90ba5a59e93c473306864b27d94
diff --git a/daemon/table/name-tree-iterator.cpp b/daemon/table/name-tree-iterator.cpp index 56c0360..f295d9c 100644 --- a/daemon/table/name-tree-iterator.cpp +++ b/daemon/table/name-tree-iterator.cpp
@@ -46,7 +46,7 @@ } Iterator::Iterator(shared_ptr<EnumerationImpl> impl, const Entry* ref) - : m_impl(impl) + : m_impl(std::move(impl)) , m_entry(nullptr) , m_ref(ref) , m_state(0)