aboutsummaryrefslogtreecommitdiff
path: root/src/test/ResourceManagerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ResourceManagerTest.cpp')
-rw-r--r--src/test/ResourceManagerTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ResourceManagerTest.cpp b/src/test/ResourceManagerTest.cpp
index 44a5921..e040f54 100644
--- a/src/test/ResourceManagerTest.cpp
+++ b/src/test/ResourceManagerTest.cpp
@@ -1,3 +1,4 @@
+#include "manager/Mediator.h"
#include <gtest/gtest.h>
#define private public
@@ -30,7 +31,7 @@ public:
public:
const unsigned instance;
- TestResource(const Asset & src) : Resource(src), instance(this->instances++) {}
+ TestResource(const Asset & src, Mediator & mediator) : Resource(src, mediator), instance(this->instances++) {}
~TestResource() { this->instances--; }
bool operator==(const TestResource & other) const {
return this->instance == other.instance;