summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-03 16:49:32 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-03 16:49:32 -0400
commit4ea097b36ec3d7e490c405ce66708db0d177fca6 (patch)
treead887d2172a13caea02210480cbd63ab59d0904d /src/mongo/db/pipeline/document.h
parent6b87a77ced925398b7485abaf0fa36bafcccc52a (diff)
downloadmongo-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.h10
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);
}