Skip to content
Snippets Groups Projects
Commit 43a13bbb authored by Dmitri Naumov's avatar Dmitri Naumov Committed by Dmitri Naumov
Browse files

Remove copy ctor definitions. These are implicit.

The definition of implicit copy assignment operator for a class
is deprecated because it has a user-declared copy constructor
as issued by -Wdeprecated-copy warning.

Since the definitions of default copy constructors are implictly
created by the compiler (as well as the copy assignments)
the definitions are not needed.
parent 85249052
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,6 @@ public:
enlarge();
}
AABB(AABB const&) = default;
/**
* Construction of object using input iterators. In contrast to give a
* vector this approach is more generic. You can use every (stl) container
......
......@@ -41,9 +41,6 @@ public:
/// @param length number of rows
explicit EigenVector(IndexType length) : vec_(length) {}
/// copy constructor
EigenVector(EigenVector const& src) = default;
/// return a vector length
IndexType size() const { return static_cast<IndexType>(vec_.size()); }
......
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