summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/value.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/value.h b/include/value.h
index 21e945625a..bcad7f3468 100644
--- a/include/value.h
+++ b/include/value.h
@@ -44,15 +44,15 @@ public:
explicit value(std::unique_ptr<tag>&& t);
explicit value(tag&& t);
+ value& operator=(std::unique_ptr<tag>&& t);
+ value& operator=(tag&& t);
+
//Movable but not (implicitly) copyable
value(const value&) = delete;
value(value&&) = default;
value& operator=(const value&) = delete;
value& operator=(value&&) = default;
- value& operator=(std::unique_ptr<tag>&& t);
- value& operator=(tag&& t);
-
//Assignment of primitives and string
/**
* @brief Assigns the given value to the tag if the type matches