Fix typo in RunAction() declaration.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15067
This commit is contained in:
parent
1411b09178
commit
216541c9a3
|
@ -171,7 +171,7 @@ public:
|
||||||
* @return True if the action was handled immediately
|
* @return True if the action was handled immediately
|
||||||
*/
|
*/
|
||||||
template<typename T,
|
template<typename T,
|
||||||
std::enable_if_t<!std::is_convertible_v<T*, COMMIT*>>* = nullptr>
|
std::enable_if_t<!std::is_convertible_v<T, COMMIT*>>* = nullptr>
|
||||||
bool RunAction( const TOOL_ACTION& aAction, T aParam )
|
bool RunAction( const TOOL_ACTION& aAction, T aParam )
|
||||||
{
|
{
|
||||||
// Use a cast to ensure the proper type is stored inside the parameter
|
// Use a cast to ensure the proper type is stored inside the parameter
|
||||||
|
|
Loading…
Reference in New Issue