From d514cc2222f9cde028fdc3064d25c1948239513f Mon Sep 17 00:00:00 2001 From: aortigos Date: Fri, 24 Apr 2026 13:22:16 +0200 Subject: [PATCH] operator= fixed --- ex01/RPN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex01/RPN.cpp b/ex01/RPN.cpp index 60a707a..8c5b722 100644 --- a/ex01/RPN.cpp +++ b/ex01/RPN.cpp @@ -31,7 +31,7 @@ RPN& RPN::operator=(const RPN &other) { if (this != &other) { - // Copy attributes here + this->numbers = other.numbers; } // std::cout << "RPN copy assignment operator called" << std::endl; return (*this);