From f5e705655a037889c0c601f388edf0ef76bbb110 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 3 Sep 2016 00:34:10 +0100 Subject: [PATCH] gen: Make MoreThanXStatements single-arg constructor explicit [nfc] --- gen/function-inlining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/function-inlining.cpp b/gen/function-inlining.cpp index 37c64e1363..4773067235 100644 --- a/gen/function-inlining.cpp +++ b/gen/function-inlining.cpp @@ -30,7 +30,7 @@ struct MoreThanXStatements : public StoppableVisitor { /// The statement count. unsigned count; - MoreThanXStatements(unsigned X) : threshold(X), count(0) {} + explicit MoreThanXStatements(unsigned X) : threshold(X), count(0) {} using StoppableVisitor::visit;