diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-05-03 16:49:32 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-05-03 16:49:32 -0400 |
commit | 4ea097b36ec3d7e490c405ce66708db0d177fca6 (patch) | |
tree | ad887d2172a13caea02210480cbd63ab59d0904d /src/mongo/db/pipeline/document.h | |
parent | 6b87a77ced925398b7485abaf0fa36bafcccc52a (diff) | |
download | mongo-4ea097b36ec3d7e490c405ce66708db0d177fca6.tar.gz |
SERVER-23548 Remove VS2013 workarounds
Diffstat (limited to 'src/mongo/db/pipeline/document.h')
-rw-r--r-- | src/mongo/db/pipeline/document.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/pipeline/document.h b/src/mongo/db/pipeline/document.h index c0bf581110e..e7584b13ade 100644 --- a/src/mongo/db/pipeline/document.h +++ b/src/mongo/db/pipeline/document.h @@ -79,16 +79,6 @@ public: */ Document(std::initializer_list<std::pair<StringData, ImplicitValue>> initializerList); -#if defined(_MSC_VER) && _MSC_VER < 1900 // MVSC++ <= 2013 can't generate default move operations - Document(const Document& other) = default; - Document& operator=(const Document& other) = default; - Document(Document&& other) : _storage(std::move(other._storage)) {} - Document& operator=(Document&& other) { - _storage = std::move(other._storage); - return *this; - } -#endif - void swap(Document& rhs) { _storage.swap(rhs._storage); } |