Record Detail

Compile Error

/in/ex6.cpp:32:13: error: redefinition of 'BinaryTree& BinaryTree::operator=(const BinaryTree&)'
 BinaryTree& BinaryTree::operator=(const BinaryTree& other) {
             ^~~~~~~~~~
/in/ex6.cpp:16: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

Information

Submit By
Type
Submission
Homework
Exercise 6
Language
C++
Submit At
2024-12-15 20:47:44
Judged At
2024-12-15 20:47:44
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes