aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/bytearray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/bytearray.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/bytearray.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/sources/shiboken6/tests/libsample/bytearray.cpp b/sources/shiboken6/tests/libsample/bytearray.cpp
index 021d2a079..ee1e1ca93 100644
--- a/sources/shiboken6/tests/libsample/bytearray.cpp
+++ b/sources/shiboken6/tests/libsample/bytearray.cpp
@@ -57,13 +57,6 @@ ByteArray::ByteArray(const char* data, int len)
m_data[len] = '\0';
}
-ByteArray::ByteArray(const ByteArray& other)
-{
- m_data = std::vector<char>(other.size() + 1);
- memcpy(&m_data[0], &other.m_data[0], other.size());
- m_data[other.size()] = '\0';
-}
-
int
ByteArray::size() const
{