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

Unified Diff: src/func-name-inferrer.h

Issue 73025: Fixed presubmit errors. (Closed)
Patch Set: Created 11 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/func-name-inferrer.h
diff --git a/src/func-name-inferrer.h b/src/func-name-inferrer.h
index 6e2bf9135803448ea2150b5c22d6bf5c74bbf52c..4e49285da1cfb5782d947b221359c723afbb8a56 100644
--- a/src/func-name-inferrer.h
+++ b/src/func-name-inferrer.h
@@ -99,8 +99,9 @@ class FuncNameInferrer BASE_EMBEDDED {
// leaving scope.
class ScopedFuncNameInferrer BASE_EMBEDDED {
public:
- ScopedFuncNameInferrer(FuncNameInferrer* inferrer) : inferrer_(inferrer),
- is_entered_(false) {};
+ explicit ScopedFuncNameInferrer(FuncNameInferrer* inferrer) :
+ inferrer_(inferrer),
+ is_entered_(false) {}
~ScopedFuncNameInferrer() {
if (is_entered_) {
inferrer_->InferAndLeave();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698