mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Everywhere: Debug macros instead of constexpr.
This was done with the following script:
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/dbgln<debug_([a-z_]+)>/dbgln<\U\1_DEBUG>/' {} \;
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/if constexpr \(debug_([a-z0-9_]+)/if constexpr \(\U\1_DEBUG/' {} \;
This commit is contained in:
@@ -459,7 +459,7 @@ void MenuManager::set_current_menubar(MenuBar* menubar)
|
||||
else
|
||||
m_current_menubar = nullptr;
|
||||
|
||||
dbgln<debug_menus>("[WM] Current menubar is now {}", menubar);
|
||||
dbgln<MENUS_DEBUG>("[WM] Current menubar is now {}", menubar);
|
||||
|
||||
Gfx::IntPoint next_menu_location { MenuManager::menubar_menu_margin() / 2, 0 };
|
||||
for_each_active_menubar_menu([&](Menu& menu) {
|
||||
|
||||
Reference in New Issue
Block a user