diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-14 17:42:29 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-14 17:42:29 +0200 |
commit | 1e5b276394ef3fc6d91df9121a90458662a7b75c (patch) | |
tree | cca973005497b79ea00742a460d39f9ec98d9575 /View.cpp | |
parent | 97e2f08fcc68c83d054dada41c40eaecfc889fb1 (diff) |
make View instantiate its own controller
Diffstat (limited to 'View.cpp')
-rw-r--r-- | View.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |