diff --git a/ex02/inc/MutantStack.hpp b/ex02/inc/MutantStack.hpp index 0647d8d..6bfc73c 100644 --- a/ex02/inc/MutantStack.hpp +++ b/ex02/inc/MutantStack.hpp @@ -8,17 +8,17 @@ class MutantStack : public std::stack MutantStack(); MutantStack(const MutantStack &other); MutantStack(MutantStack &&other) noexcept; - MutantStack &operator=(const MutantStack &other); + MutantStack &operator=(const MutantStack &other); MutantStack &&operator=(MutantStack &&other) noexcept; ~MutantStack() noexcept; - typedef typename std::stack::container_type::iterator iterator; + typedef typename std::stack::container_type::iterator iterator; typedef typename std::stack::container_type::const_iterator const_iterator; - - iterator begin(); - iterator end(); + + iterator begin(); + iterator end(); const_iterator begin() const; const_iterator end() const; }; -#include "MutantStack.tpp" \ No newline at end of file +#include "MutantStack.tpp" diff --git a/ex02/src/main.cpp b/ex02/src/main.cpp index 24ce3b1..1b8170c 100644 --- a/ex02/src/main.cpp +++ b/ex02/src/main.cpp @@ -1,6 +1,5 @@ #include "MutantStack.hpp" -#include #include #define INFO "\n\033[1;32;4m"