summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-22 12:17:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-22 12:17:57 +0000
commitfcca8bc835db65ac170d1148d52a815df8838d53 (patch)
treec28d017961cb05f6360042e7a089f10641f174b4 /ui/gameMainWindow.cpp
parentAdd ManyPtr which tracks specified subclasses (diff)
downloadilt-fcca8bc835db65ac170d1148d52a815df8838d53.tar.bz2
ilt-fcca8bc835db65ac170d1148d52a815df8838d53.tar.xz
ilt-fcca8bc835db65ac170d1148d52a815df8838d53.zip
Invert how shared/unique is specified for Collection
Template param is a pointer now, typedefs added for ease.
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r--ui/gameMainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index b58f3dc..07901b3 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -32,7 +32,7 @@ GameMainWindow::GameMainWindow(size_t w, size_t h) : WindowContent {w, h}, Scene
{
uiComponents.create<ManualCameraController>(glm::vec2 {310'727'624, 494'018'810});
auto gms = uiComponents.create<GameMainSelector>(&camera, ScreenAbsCoord {w, h});
- uiComponents.create<GameMainToolbar>(gms.get());
+ uiComponents.create<GameMainToolbar>(gms);
}
GameMainWindow::~GameMainWindow() { }