aboutsummaryrefslogtreecommitdiff
path: root/View.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-14 17:42:29 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-14 17:42:29 +0200
commit1e5b276394ef3fc6d91df9121a90458662a7b75c (patch)
treecca973005497b79ea00742a460d39f9ec98d9575 /View.cpp
parent97e2f08fcc68c83d054dada41c40eaecfc889fb1 (diff)
make View instantiate its own controller
Diffstat (limited to 'View.cpp')
-rw-r--r--View.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/View.cpp b/View.cpp
index 8ca7d94..c269643 100644
--- a/View.cpp
+++ b/View.cpp
@@ -4,7 +4,7 @@
#include "View.h"
#include "ViewController.h"
-View::View(ViewController & vc) : controller(vc) {
+View::View(Museum & m) : controller(m) {
this->worker = new std::thread(&View::work, this);
}