Follow naming convention for private member variables

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/954/head
Michael Richters 4 years ago
parent 371ba30ed3
commit bc14df9f8b
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -66,11 +66,11 @@ void SimHarness::Release(uint8_t row, uint8_t col) {
}
void SimHarness::SetCycleTime(uint8_t millis) {
millis_per_cycle = millis;
millis_per_cycle_ = millis;
}
uint8_t SimHarness::CycleTime() const {
return millis_per_cycle;
return millis_per_cycle_;
}

@ -37,7 +37,7 @@ class SimHarness {
void SetCycleTime(uint8_t millis);
uint8_t CycleTime() const;
private:
uint8_t millis_per_cycle = 1;
uint8_t millis_per_cycle_ = 1;
};
} // namespace testing

Loading…
Cancel
Save