diff options
Diffstat (limited to 'src/stack.hpp')
-rw-r--r-- | src/stack.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/stack.hpp b/src/stack.hpp index b156242..d5c1bdb 100644 --- a/src/stack.hpp +++ b/src/stack.hpp @@ -1,5 +1,4 @@ -#ifndef STACK_HPP -#define STACK_HPP +#pragma once #include <vector> @@ -15,7 +14,7 @@ public: * * @param capacity The capacity of the stack */ - Stack(int capacity); + Stack(unsigned long capacity); /** * Pushes a item onto the stack. @@ -40,4 +39,3 @@ private: #include "stack.tpp" -#endif |