From 7cea1421e5bff5cc083eb77f6e3bf389281ae168 Mon Sep 17 00:00:00 2001 From: Felix Schindler <felix.schindler@wwu.de> Date: Wed, 6 Apr 2016 16:15:30 +0200 Subject: [PATCH] [memory] drop ambiguous ctors --- dune/xt/common/memory.hh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dune/xt/common/memory.hh b/dune/xt/common/memory.hh index 416cdbe89..0b3a6095e 100644 --- a/dune/xt/common/memory.hh +++ b/dune/xt/common/memory.hh @@ -279,9 +279,6 @@ public: : storage_(make_unique<internal::ConstAccessByPointer<T>>(tt)) { } - - explicit ConstStorageProvider(std::unique_ptr<const T>&& tt) - : storage_(make_unique<internal::ConstAccessByPointer<T>>(tt)) { } @@ -326,9 +323,6 @@ public: : storage_(make_unique<internal::AccessByPointer<T>>(tt)) { } - - explicit StorageProvider(std::unique_ptr<T>&& tt) - : storage_(make_unique<internal::AccessByPointer<T>>(tt)) { } -- GitLab