From 825379ae1b639320952989ef7dc1b7ab1ab471c3 Mon Sep 17 00:00:00 2001 From: Tijmen van Nesselrooij Date: Mon, 29 Apr 2019 19:25:21 +0200 Subject: [PATCH] add constructor BinaryTree::Tree --- binary-trees/binarytree.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binary-trees/binarytree.hpp b/binary-trees/binarytree.hpp index ea09ff4..18a34a7 100644 --- a/binary-trees/binarytree.hpp +++ b/binary-trees/binarytree.hpp @@ -127,5 +127,9 @@ public: } } } + + Tree() + : root(nullptr) + {} }; } // namespace BinaryTree \ No newline at end of file