Skip to content

Commit 4969b94

Browse files
committed
Addendum to cbe79d3
1 parent 6863fc6 commit 4969b94

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Client/cefweb/CWebCore.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ CWebCore::CWebCore()
4141

4242
CWebCore::~CWebCore()
4343
{
44-
std::ranges::for_each(m_WebViews, [](const auto& pWebView) {
44+
for (const auto& pWebView : m_WebViews)
45+
{
4546
if (pWebView) [[likely]]
4647
pWebView->CloseBrowser();
47-
});
48+
}
4849
m_WebViews.clear();
4950
CefClearSchemeHandlerFactories();
5051

0 commit comments

Comments
 (0)