In file included from /in/ex6.cpp:1:0:
/in/ex6.h:48:7: error: extra qualification 'BinaryTree::' on member 'depthHelper' [-fpermissive]
int BinaryTree::depthHelper(TreeNode* root) const;
^~~~~~~~~~
/in/ex6.cpp:58:1: error: redefinition of 'BinaryTree::BinaryTree(const BinaryTree&)'
BinaryTree::BinaryTree(const BinaryTree& other)
^~~~~~~~~~
/in/ex6.cpp:18:1: note: 'BinaryTree::BinaryTree(const BinaryTree&)' previously defined here
BinaryTree::BinaryTree(const BinaryTree &other)
^~~~~~~~~~
/in/ex6.cpp:63:13: error: redefinition of 'BinaryTree& BinaryTree::operator=(const BinaryTree&)'
BinaryTree& BinaryTree::operator=(const BinaryTree& other)
^~~~~~~~~~
/in/ex6.cpp:23:13: note: 'BinaryTree& BinaryTree::operator=(const BinaryTree&)' previously defined here
BinaryTree& BinaryTree::operator=(const BinaryTree &other)
^~~~~~~~~~
/in/compile/Makefile:69: recipe for target 'ex6.o' failed
make: *** [ex6.o] Error 1