Fix typo in RunAction() declaration.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15067
This commit is contained in:
Jeff Young 2023-06-27 17:59:04 +01:00
parent 1411b09178
commit 216541c9a3
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ public:
* @return True if the action was handled immediately
*/
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 )
{
// Use a cast to ensure the proper type is stored inside the parameter