Fixed presubmit errors.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Apr 2009 01:33:15 +0000 (01:33 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Apr 2009 01:33:15 +0000 (01:33 +0000)
TBR=sgjesse@chromium.org

Review URL: http://codereview.chromium.org/73025

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/func-name-inferrer.h

index 6e2bf9135803448ea2150b5c22d6bf5c74bbf52c..4e49285da1cfb5782d947b221359c723afbb8a56 100644 (file)
@@ -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();