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(); |