Minor lambda edit

This commit is contained in:
Jack Andersen 2018-05-21 21:49:39 -10:00
parent f41f0e0e77
commit 83153386ed
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ RootView::RootView(IViewManager& viewMan, ViewResources& res, boo::IWindow* wind
{ {
window->setCallback(&m_events); window->setCallback(&m_events);
boo::SWindowRect rect = window->getWindowFrame(); boo::SWindowRect rect = window->getWindowFrame();
commitResources(res, [&](boo::IGraphicsDataFactory::Context& ctx) -> bool commitResources(res, [&](boo::IGraphicsDataFactory::Context& ctx)
{ {
buildResources(ctx, res); buildResources(ctx, res);
m_splitMenuSystem.emplace(*this, ctx); m_splitMenuSystem.emplace(*this, ctx);