apm/controller: Make GetCurrentPerformanceMode() a const member function

This doesn't modify instance state, so it can be made const qualified.
This commit is contained in:
Lioncash
2019-10-17 15:58:22 -04:00
parent 9fe8072c67
commit 141d929929
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public:
void SetPerformanceConfiguration(PerformanceMode mode, PerformanceConfiguration config);
void SetFromCpuBoostMode(CpuBoostMode mode);
PerformanceMode GetCurrentPerformanceMode();
PerformanceMode GetCurrentPerformanceMode() const;
PerformanceConfiguration GetCurrentPerformanceConfiguration(PerformanceMode mode);
private: