Skip to content
Snippets Groups Projects
Commit 6a1c7db4 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Update CloneableVector.h: we can use "super" here

parent 010f100a
No related branches found
No related tags found
1 merge request!47Fix build issues with GCC and Clang
Pipeline #35505 passed
......@@ -38,7 +38,7 @@ template <class T> class CloneableVector : public std::vector<std::unique_ptr<T>
public:
CloneableVector() {}
CloneableVector(const CloneableVector& other)
: std::vector<std::unique_ptr<T>>()
: super()
{ copyOther(other); }
CloneableVector& operator=(const CloneableVector& other)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment