diff options
-rw-r--r-- | include/Uri/Uri.hpp | 4 | ||||
-rw-r--r-- | src/Uri.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/Uri/Uri.hpp b/include/Uri/Uri.hpp index b64f0da..43e4ac3 100644 --- a/include/Uri/Uri.hpp +++ b/include/Uri/Uri.hpp @@ -25,9 +25,9 @@ namespace Uri { public: ~Uri(); Uri(const Uri&) = delete; - Uri(Uri&&) = delete; + Uri(Uri&&); Uri& operator=(const Uri&) = delete; - Uri& operator=(Uri&&) = delete; + Uri& operator=(Uri&&); // Public methods public: diff --git a/src/Uri.cpp b/src/Uri.cpp index 2d549c2..01f5141 100644 --- a/src/Uri.cpp +++ b/src/Uri.cpp @@ -580,6 +580,8 @@ namespace Uri { }; Uri::~Uri() = default; + Uri::Uri(Uri&&) = default; + Uri& Uri::operator=(Uri&&) = default; Uri::Uri() : impl_(new Impl) |