Browse Source

Naming some lambda arguments for clarity.

David Piuva 3 years ago
parent
commit
1a3272957b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/DFPSR/api/guiAPI.h

+ 1 - 1
Source/DFPSR/api/guiAPI.h

@@ -88,7 +88,7 @@ namespace dsr {
 	// To allow detaching components while iterating over the list of children, order is reversed for child components.
 	// To allow detaching components while iterating over the list of children, order is reversed for child components.
 	// Raises an exception if window doesn't exist.
 	// Raises an exception if window doesn't exist.
 	// Component names are case sensitive to reduce the risk of accidental naming conflicts among many components.
 	// Component names are case sensitive to reduce the risk of accidental naming conflicts among many components.
-	void window_findAllComponentsByName(const Window& window, const ReadableString& name, std::function<void(Component, int)> callback);
+	void window_findAllComponentsByName(const Window& window, const ReadableString& name, std::function<void(Component component, int index)> callback);
 
 
 // The three main events to run in a loop at the end of the main function
 // The three main events to run in a loop at the end of the main function
 	// If the window's event queue contained any resize of the window, the canvas and the depth buffer will be replaced during this call.
 	// If the window's event queue contained any resize of the window, the canvas and the depth buffer will be replaced during this call.