Library 4

bug fix (see prev. commit)
This commit is contained in:
Alessandro Ferro
2021-05-25 15:58:25 +02:00
parent 828a41dd72
commit b7c12b8c8a
3 changed files with 15 additions and 11 deletions

View File

@ -15,11 +15,10 @@ protected:
protected:
using BinaryTree<Data>::Node::data;
public:
struct NodeLnk* left = nullptr;
struct NodeLnk* right = nullptr;
public:
struct NodeLnk& operator=(const NodeLnk&); // Copy assignment of abstract types should not be possible.
struct NodeLnk& operator=(NodeLnk&&) noexcept; // Move assignment of abstract types should not be possible.
bool IsLeaf() const noexcept override; // (concrete function should not throw exceptions)