Skip to content

Commit

Permalink
fix DUAL_PROP_CONDITION (#605)
Browse files Browse the repository at this point in the history
Avoid error: there are no arguments to 'blade_present' that depend on a template parameter, so a declaration of 'blade_present' must be available [-fpermissive]
  • Loading branch information
NoSloppy authored Dec 10, 2023
1 parent 718a727 commit 7dd6d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion props/dual_prop.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ See here for setup info:
https://pod.hubbe.net/howto/blade-id.html
*/

#define DUAL_PROP_CONDITION blade_present()
#define DUAL_PROP_CONDITION this->blade_present()

#ifdef PROP_INHERIT_PREFIX
#error dual_prop.h must be included first
Expand Down

0 comments on commit 7dd6d26

Please sign in to comment.