From b3cf7bd2daeb46a613611e8a5d3f47736b5780e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Dec 2017 00:51:34 +0300 Subject: Remove default parameter from inventory. --- src/unittests/gui/windowmanager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unittests') diff --git a/src/unittests/gui/windowmanager.cc b/src/unittests/gui/windowmanager.cc index b7f1eee43..92ea50920 100644 --- a/src/unittests/gui/windowmanager.cc +++ b/src/unittests/gui/windowmanager.cc @@ -452,7 +452,7 @@ TEST_CASE("Windows tests", "windowmanager") } SECTION("InventoryWindow") { - Inventory *inventory = new Inventory(InventoryType::Inventory); + Inventory *inventory = new Inventory(InventoryType::Inventory, -1); InventoryWindow *dialog = CREATEWIDGETR(InventoryWindow, inventory); gui->draw(); -- cgit v1.2.3-70-g09d2