Skip to content
Snippets Groups Projects
Commit b8b31f64 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[la.container] fix warning

parent 49cb5fe5
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@
# pragma GCC diagnostic ignored "-Wall"
# pragma GCC diagnostic ignored "-Wcovered-switch-default"
# pragma clang diagnostic ignored "-Wdelete-non-virtual-dtor"
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# pragma GCC diagnostic ignored "-Wdeprecated-register"
# pragma GCC diagnostic ignored "-Wdisabled-macro-expansion"
......@@ -50,6 +51,7 @@
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wall"
# pragma GCC diagnostic ignored "-Wattributes"
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# pragma GCC diagnostic ignored "-Wextra"
# pragma GCC diagnostic ignored "-Wfloat-equal"
......
......@@ -185,6 +185,8 @@ public:
using BaseType::operator=;
ThisType& operator=(const ThisType& other) = default;
ThisType& operator=(const BackendType& other)
{
backend_ = std::make_shared<BackendType>(other);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment