mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Apply readability-avoid-const-params-in-decls
This commit is contained in:
committed by
Dennis Klein
parent
42a7e298c0
commit
f33c597f34
@@ -25,7 +25,7 @@ class StateMachine
|
||||
StateMachine();
|
||||
virtual ~StateMachine();
|
||||
|
||||
bool ChangeState(const Transition transition);
|
||||
bool ChangeState(Transition transition);
|
||||
bool ChangeState(const std::string& transition) { return ChangeState(GetTransition(transition)); }
|
||||
|
||||
void SubscribeToStateChange(const std::string& key, std::function<void(const State)> callback);
|
||||
@@ -39,7 +39,7 @@ class StateMachine
|
||||
|
||||
bool NewStatePending() const;
|
||||
void WaitForPendingState() const;
|
||||
bool WaitForPendingStateFor(const int durationInMs) const;
|
||||
bool WaitForPendingStateFor(int durationInMs) const;
|
||||
|
||||
State GetCurrentState() const;
|
||||
std::string GetCurrentStateName() const;
|
||||
|
Reference in New Issue
Block a user