Loading services/surfaceflinger/Scheduler/RefreshRateConfigs.h +3 −0 Original line number Original line Diff line number Diff line Loading @@ -91,6 +91,9 @@ public: bool operator==(const RefreshRate& other) const { return !(*this != other); } bool operator==(const RefreshRate& other) const { return !(*this != other); } std::string toString() const; std::string toString() const; friend std::ostream& operator<<(std::ostream& os, const RefreshRate& refreshRate) { return os << refreshRate.toString(); } private: private: friend RefreshRateConfigs; friend RefreshRateConfigs; Loading Loading
services/surfaceflinger/Scheduler/RefreshRateConfigs.h +3 −0 Original line number Original line Diff line number Diff line Loading @@ -91,6 +91,9 @@ public: bool operator==(const RefreshRate& other) const { return !(*this != other); } bool operator==(const RefreshRate& other) const { return !(*this != other); } std::string toString() const; std::string toString() const; friend std::ostream& operator<<(std::ostream& os, const RefreshRate& refreshRate) { return os << refreshRate.toString(); } private: private: friend RefreshRateConfigs; friend RefreshRateConfigs; Loading