summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <og@satcom1.com>2017-11-25 18:38:09 +0100
committerOlivier Gayot <og@satcom1.com>2017-11-25 18:54:30 +0100
commit70d94b803db40423d23bd01e347b33f3a931ad4f (patch)
tree74cf0ed66dcbb517e41dcd22bbc4754982fb2379
parent049402e53bd0e0fb1f589366102b4e938dffa3b8 (diff)
Added move assignment operator
Signed-off-by: Olivier Gayot <og@satcom1.com>
-rw-r--r--number.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/number.h b/number.h
index b1edbd6..337a47d 100644
--- a/number.h
+++ b/number.h
@@ -12,6 +12,7 @@ public:
number(number &&) = default;
number &operator=(const number &) = default;
+ number &operator=(number &&) = default;
number(std::uint64_t);