Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: src/core/SkFunction.h

Issue 1232463006: Fix up -Winconsistent-missing-override (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: llvm_coverage_build Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/animator/SkXMLAnimatorWriter.h ('k') | src/core/SkRWBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkFunction.h
diff --git a/src/core/SkFunction.h b/src/core/SkFunction.h
index 429c6f5ade327543e62a92b72296c4809179545e..8e41cba929a08b4303247f5f1b51474ae2244d66 100644
--- a/src/core/SkFunction.h
+++ b/src/core/SkFunction.h
@@ -54,7 +54,7 @@ private:
LambdaImpl(const Fn& fn) : fFn(fn) {}
R call(Args... args) const override { return fFn(Forward(args)...); }
- Interface* clone() const { return SkNEW_ARGS(LambdaImpl<Fn>, (fFn)); }
+ Interface* clone() const override { return SkNEW_ARGS(LambdaImpl<Fn>, (fFn)); }
private:
Fn fFn;
};
@@ -64,7 +64,7 @@ private:
FnPtrImpl(R (*fn)(Args...)) : fFn(fn) {}
R call(Args... args) const override { return fFn(Forward(args)...); }
- Interface* clone() const { return SkNEW_ARGS(FnPtrImpl, (fFn)); }
+ Interface* clone() const override { return SkNEW_ARGS(FnPtrImpl, (fFn)); }
private:
R (*fFn)(Args...);
};
« no previous file with comments | « src/animator/SkXMLAnimatorWriter.h ('k') | src/core/SkRWBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698