From 020568b3627bab18d28ea3b7244fccf47c19e37f Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 28 Oct 2023 15:53:53 +0100 Subject: [PATCH] client: fix namespace ambiguity --- src/browser/client.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/client.cxx b/src/browser/client.cxx index d5fab6b..7520711 100644 --- a/src/browser/client.cxx +++ b/src/browser/client.cxx @@ -45,7 +45,7 @@ void Browser::Client::OpenLauncher() { std::lock_guard _(this->windows_lock); auto it = std::find_if(this->windows.begin(), this->windows.end(), [](CefRefPtr& win) { return win->IsLauncher(); }); if (it == this->windows.end()) { - CefRefPtr w = new Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); + CefRefPtr w = new Browser::Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); this->windows.push_back(w); } else { (*it)->Focus(); @@ -111,7 +111,7 @@ void Browser::Client::OnContextInitialized() { // After main() enters its event loop, this function will be called on the main thread when CEF // context is ready to go, so, as suggested by CEF examples, Bolt treats this as an entry point. std::lock_guard _(this->windows_lock); - CefRefPtr w = new Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); + CefRefPtr w = new Browser::Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); this->windows.push_back(w); }