From 9f685c302a52f0801ca2f03fc03db3cae61ad3e9 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 24 Jan 2022 22:33:31 +0100 Subject: refactor: fix compiler warnings --- src/stack.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/stack.hpp') 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 @@ -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 -- cgit v1.2.3-18-g5258