diff options
author | Haixia Shi <hshi@chromium.org> | 2015-10-27 10:40:48 -0700 |
---|---|---|
committer | Haixia Shi <hshi@chromium.org> | 2015-10-27 14:11:56 -0700 |
commit | 479412cbe6edbc265e4ab419cc9138e5ade6bd84 (patch) | |
tree | 6484ba85202d27677d3d805132a140ac20985b81 /vsyncworker.h | |
parent | dda2fabb6a8010768e199210b934a6326c891c2d (diff) |
drm_hwcomposer: C++ coding style cleanup, no functional changes.
Apply "override" keyword and remove redundant "virtual" keyword.
Ran clang-format on all files.
Change-Id: I76730296aa8f52e555137d4b5973fa27d38f0aa6
Diffstat (limited to 'vsyncworker.h')
-rw-r--r-- | vsyncworker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vsyncworker.h b/vsyncworker.h index ce7b94a..98ac546 100644 --- a/vsyncworker.h +++ b/vsyncworker.h @@ -31,7 +31,7 @@ namespace android { class VSyncWorker : public Worker { public: VSyncWorker(); - ~VSyncWorker(); + ~VSyncWorker() override; int Init(DrmResources *drm, int display); int SetProcs(hwc_procs_t const *procs); @@ -39,7 +39,7 @@ class VSyncWorker : public Worker { int VSyncControl(bool enabled); protected: - virtual void Routine(); + void Routine() override; private: int64_t GetPhasedVSync(int64_t frame_ns, int64_t current); |