summaryrefslogtreecommitdiff
path: root/libadhocutil/plugins.impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/plugins.impl.h')
-rw-r--r--libadhocutil/plugins.impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libadhocutil/plugins.impl.h b/libadhocutil/plugins.impl.h
index 7d70e8d..e4b48d1 100644
--- a/libadhocutil/plugins.impl.h
+++ b/libadhocutil/plugins.impl.h
@@ -5,9 +5,9 @@
namespace AdHoc {
template <typename T>
- PluginOf<T>::PluginOf(const std::shared_ptr<T> & t, const std::string_view & n, const std::string_view & f, int l) :
+ PluginOf<T>::PluginOf(std::shared_ptr<T> t, const std::string_view & n, const std::string_view & f, int l) :
Plugin(n, f, l),
- impl(t)
+ impl(std::move(t))
{
}