Browse Source

Action class inheritance is made protected

lintest
Michael Uleysky 1 year ago
parent
commit
90dab32ee5
  1. 2
      include/actiondep.h

2
include/actiondep.h

@ -12,7 +12,7 @@ using michlib::MDateTime;
#define ADD_ACTION(actclass, actname, suptest, ...) ADD ACTION CLASS: actclass
#else
#define ADD_ACTION(actclass, actname, suptest, ...) \
class Action##actclass __VA_OPT__( : public) __VA_ARGS__ \
class Action##actclass __VA_OPT__( : protected) __VA_ARGS__ \
{ \
public: \
static constexpr const char* name = #actname; \

Loading…
Cancel
Save