summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 2b6f66cea..4c13db1a4 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -166,7 +166,7 @@ void Inventory::setItem(const int index,
void Inventory::setCards(const int index,
const int *const cards,
- const int size)
+ const int size) const
{
if (index < 0 || index >= static_cast<int>(mSize))
{