summaryrefslogtreecommitdiff
path: root/vsyncworker.h
diff options
context:
space:
mode:
authorHaixia Shi <hshi@chromium.org>2015-10-27 10:40:48 -0700
committerHaixia Shi <hshi@chromium.org>2015-10-27 14:11:56 -0700
commit479412cbe6edbc265e4ab419cc9138e5ade6bd84 (patch)
tree6484ba85202d27677d3d805132a140ac20985b81 /vsyncworker.h
parentdda2fabb6a8010768e199210b934a6326c891c2d (diff)
downloaddrm_hwcomposer-479412cbe6edbc265e4ab419cc9138e5ade6bd84.tar.gz
drm_hwcomposer-479412cbe6edbc265e4ab419cc9138e5ade6bd84.tar.xz
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.h4
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);