operator= fixed

This commit is contained in:
2026-04-24 13:22:16 +02:00
parent c026efd20f
commit d514cc2222

View File

@@ -31,7 +31,7 @@ RPN& RPN::operator=(const RPN &other)
{ {
if (this != &other) if (this != &other)
{ {
// Copy attributes here this->numbers = other.numbers;
} }
// std::cout << "RPN copy assignment operator called" << std::endl; // std::cout << "RPN copy assignment operator called" << std::endl;
return (*this); return (*this);