@@ -264,17 +264,17 @@ class DepthFirstSearch {
264264 virtual ~DepthFirstSearch () = default ;
265265 using DFSStackCIter = DfsStack::const_iterator;
266266
267- virtual void onEnterState (StateRef s){};
267+ virtual void onEnterState (StateRef s) {};
268268
269- virtual void onLeaveState (StateRef s){};
269+ virtual void onLeaveState (StateRef s) {};
270270
271- virtual void onTransition (const Edge &e){};
271+ virtual void onTransition (const Edge &e) {};
272272
273- virtual void onSimpleCycle (DfsStack &stack){};
273+ virtual void onSimpleCycle (DfsStack &stack) {};
274274
275275 const FiniteStateMachine &getFSM () { return this ->fsm ; }
276276
277- explicit DepthFirstSearch (const FiniteStateMachine &targetFsm) : fsm(targetFsm){};
277+ explicit DepthFirstSearch (const FiniteStateMachine &targetFsm) : fsm(targetFsm) {};
278278
279279 // Execute the depth first search
280280 void DoDepthFirstSearch (const SetOfStateRefs &startingStates, bool fullDFS = false ) {
@@ -400,7 +400,7 @@ class DepthFirstSearchLambda : public DepthFirstSearch {
400400 _onLeaveStateLambda ([](StateRef) {}),
401401 _onTransitionLambda ([](const Edge &) {}),
402402 _onSimpleCycleLambda ([](const DepthFirstSearch::DfsStack &) {}),
403- DepthFirstSearch (targetFsm){};
403+ DepthFirstSearch (targetFsm) {};
404404
405405 void setOnEnterLambda (TOnEnterLambda lambda) { this ->_onEnterStateLambda = std::move (lambda); }
406406
@@ -420,7 +420,7 @@ class DetectCycle : public DepthFirstSearch {
420420public:
421421 bool hasCycle = false ;
422422
423- explicit DetectCycle (const FiniteStateMachine &targetFsm) : DepthFirstSearch(targetFsm){};
423+ explicit DetectCycle (const FiniteStateMachine &targetFsm) : DepthFirstSearch(targetFsm) {};
424424
425425 ~DetectCycle () override = default ;
426426
@@ -459,7 +459,7 @@ class ReachableStates : public DepthFirstSearch {
459459public:
460460 SetOfStateRefs result;
461461
462- explicit ReachableStates (FiniteStateMachine &targetFsm) : DepthFirstSearch(targetFsm){};
462+ explicit ReachableStates (FiniteStateMachine &targetFsm) : DepthFirstSearch(targetFsm) {};
463463
464464 ~ReachableStates () override = default ;
465465
@@ -606,7 +606,7 @@ class FiniteStateMachine : public Abstract::FiniteStateMachine {
606606 };
607607
608608public:
609- FiniteStateMachine () : Abstract::FiniteStateMachine(){};
609+ FiniteStateMachine () : Abstract::FiniteStateMachine() {};
610610
611611 ~FiniteStateMachine () override = default ;
612612
@@ -698,7 +698,8 @@ class FiniteStateMachine : public Abstract::FiniteStateMachine {
698698 return dynamic_cast <StateRef<StateLabelType, EdgeLabelType>>(*s);
699699 };
700700
701- [[nodiscard]] const ::MaxPlus::FSM::Abstract::SetOfStateRefs &getInitialStates () const override {
701+ [[nodiscard]] const ::MaxPlus::FSM::Abstract::SetOfStateRefs &
702+ getInitialStates () const override {
702703 return this ->initialStates ;
703704 };
704705
0 commit comments