Clean up Command container iteration code (#73)

This commit is contained in:
Tyler Veness
2018-06-23 19:41:45 -05:00
committed by Peter Johnson
parent ea7d11b1db
commit b7807bf9d2
9 changed files with 198 additions and 226 deletions

View File

@@ -195,7 +195,7 @@ class Command : public ErrorBase, public SendableBase {
* @return The requirements (as an std::set of Subsystem pointers) of this
* command
*/
SubsystemSet GetRequirements() const;
const SubsystemSet& GetRequirements() const;
/**
* Returns the CommandGroup that this command is a part of.