summaryrefslogtreecommitdiff
path: root/src/mongo/util/shared_buffer.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/util/shared_buffer.h
parent6b87a77ced925398b7485abaf0fa36bafcccc52a (diff)
downloadmongo-4ea097b36ec3d7e490c405ce66708db0d177fca6.tar.gz
SERVER-23548 Remove VS2013 workarounds
Diffstat (limited to 'src/mongo/util/shared_buffer.h')
-rw-r--r--src/mongo/util/shared_buffer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/util/shared_buffer.h b/src/mongo/util/shared_buffer.h
index bd880e62e7c..6cb8103ded4 100644
--- a/src/mongo/util/shared_buffer.h
+++ b/src/mongo/util/shared_buffer.h
@@ -43,16 +43,6 @@ public:
_holder.swap(other._holder);
}
-#if defined(_MSC_VER) && _MSC_VER < 1900
- SharedBuffer(const SharedBuffer&) = default;
- SharedBuffer& operator=(const SharedBuffer&) = default;
- SharedBuffer(SharedBuffer&& other) : _holder(std::move(other._holder)) {}
- SharedBuffer& operator=(SharedBuffer&& other) {
- _holder = std::move(other._holder);
- return *this;
- }
-#endif
-
static SharedBuffer allocate(size_t bytes) {
return takeOwnership(static_cast<char*>(mongoMalloc(sizeof(Holder) + bytes)));
}