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