aboutsummaryrefslogtreecommitdiff
path: root/src/stack.tpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-01-24 22:33:31 +0100
committerHampusM <hampus@hampusmat.com>2022-01-24 22:33:31 +0100
commit9f685c302a52f0801ca2f03fc03db3cae61ad3e9 (patch)
treebe8fa4549a887afb7ac914944bed630cca397b2c /src/stack.tpp
parentb8d9da4884a74008e0c70bc8d907df618fc6d998 (diff)
refactor: fix compiler warnings
Diffstat (limited to 'src/stack.tpp')
-rw-r--r--src/stack.tpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stack.tpp b/src/stack.tpp
index 958d6ca..405d493 100644
--- a/src/stack.tpp
+++ b/src/stack.tpp
@@ -3,7 +3,7 @@
#include <stdexcept>
template <typename Item>
-Stack<Item>::Stack(int capacity)
+Stack<Item>::Stack(unsigned long capacity)
{
_items.reserve(capacity);
}