summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-26 19:41:23 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-26 19:41:23 +0200
commit4b05f5d893bd4cc181da4d18d9107558b613de6e (patch)
treeb31dd51a78e6c48a9139d5b2b87d3da6eea1cedd
parent1a43dcc9b0d4c40cb8a19f2ff475c67ace4ef6a2 (diff)
Remove unnecessary copy constructors (default ones are OK).
-rw-r--r--src/lib/enum_indexed_vector.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/enum_indexed_vector.h b/src/lib/enum_indexed_vector.h
index 5032a0bf2..0187daba2 100644
--- a/src/lib/enum_indexed_vector.h
+++ b/src/lib/enum_indexed_vector.h
@@ -34,19 +34,6 @@ public:
: _data(static_cast<int>(Enum::COUNT))
{}
- EnumIndexedVector(EnumIndexedVector const& other)
- : _data(other._data)
- {}
-
- EnumIndexedVector& operator=(EnumIndexedVector const& other) {
- if (this == &other) {
- return *this;
- }
-
- _data = other._data;
- return *this;
- }
-
typename std::vector<Type>::reference operator[](int index) {
return _data[index];
}