mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:12:45 +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:
		
							parent
							
								
									bb483f7ef4
								
							
						
					
					
						commit
						8465683dcf
					
				
					 98 changed files with 414 additions and 972 deletions
				
			
		|  | @ -48,7 +48,7 @@ void CursorTool::on_mousedown(GUI::MouseEvent& event) | |||
|                 m_editor.selection().toggle(*result.widget); | ||||
|             } else if (!event.modifiers()) { | ||||
|                 if (!m_editor.selection().contains(*result.widget)) { | ||||
|                     dbgln<debug_cursor_tool>("Selection didn't contain {}, making it the only selected one", *result.widget); | ||||
|                     dbgln<CURSOR_TOOL_DEBUG>("Selection didn't contain {}, making it the only selected one", *result.widget); | ||||
|                     m_editor.selection().set(*result.widget); | ||||
|                 } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 asynts
						asynts