Skip to content

Commit d7de026

Browse files
authored
Merge pull request #453 from eevans/CPP754
CPP-754: remove user-defined copy contructors
2 parents aa334cc + 1709ca1 commit d7de026

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/deque.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ class Deque : public std::deque<T, internal::Allocator<T> > {
2828
template <class InputIt>
2929
Deque(InputIt first, InputIt last, const Allocator& alloc = Allocator())
3030
: std::deque<T, Allocator>(first, last, alloc) {}
31-
32-
Deque(const Deque& other)
33-
: std::deque<T, Allocator>(other) {}
3431
};
3532

3633
}} // namespace datastax::internal

src/map.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ class Map
2525
explicit Map(const Compare& compare = Compare(), const Allocator& alloc = Allocator())
2626
: std::map<K, V, Compare, Allocator>(compare, alloc) {}
2727

28-
Map(const Map& other)
29-
: std::map<K, V, Compare, Allocator>(other) {}
30-
3128
template <class InputIt>
3229
Map(InputIt first, InputIt last, const Compare& compare = Compare(),
3330
const Allocator& alloc = Allocator())

src/vector.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ class Vector
2828
explicit Vector(size_t count, const T& value = T())
2929
: std::vector<T, Allocator>(count, value) {}
3030

31-
Vector(const Vector& other)
32-
: std::vector<T, Allocator>(other) {}
33-
3431
template <class InputIt>
3532
Vector(InputIt first, InputIt last)
3633
: std::vector<T, Allocator>(first, last) {}

0 commit comments

Comments
 (0)