aboutsummaryrefslogtreecommitdiff
path: root/src/test/ResourceManagerTest.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 19:22:24 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 19:22:24 +0100
commit1d303f3a506dc7b6f68edb4af0a2043c4c53ab1e (patch)
tree6881feac4996da15834e85fb56ea3f9d84285189 /src/test/ResourceManagerTest.cpp
parent37f352c20cdf3c972ad99b076bb091f698132312 (diff)
parent30c17c98e54c1534664de08ca3838c40c859d166 (diff)
mege with master
Diffstat (limited to 'src/test/ResourceManagerTest.cpp')
-rw-r--r--src/test/ResourceManagerTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/ResourceManagerTest.cpp b/src/test/ResourceManagerTest.cpp
index 44a5921..965eeab 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,9 @@ 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;