aboutsummaryrefslogtreecommitdiff
path: root/src/app/stack.tpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-18 19:31:03 +0100
committerHampusM <hampus@hampusmat.com>2022-02-18 19:31:03 +0100
commite206dc1cf625f28149c19eb4dfcbf495ef0efbb4 (patch)
treebdcc6152dbce14f27a17b1a33814b0f8e365969f /src/app/stack.tpp
parent3e4d91b6b029374813cfd0900db1fa8984ad7aa3 (diff)
refactor: improve options of all kindsHEADmaster
Diffstat (limited to 'src/app/stack.tpp')
-rw-r--r--src/app/stack.tpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/stack.tpp b/src/app/stack.tpp
index bcdafc0..263da67 100644
--- a/src/app/stack.tpp
+++ b/src/app/stack.tpp
@@ -6,7 +6,7 @@
#include <stdexcept>
template <typename Item>
-Stack<Item>::Stack(uint64_t capacity)
+Stack<Item>::Stack(const uint64_t &capacity)
{
_items.reserve(capacity);
}