From 74fdbad675dc209fb8c958d6f59b4202ad453146 Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 4 Dec 2023 19:51:39 +0100 Subject: [PATCH] fwdanalysis.h: fixed `noExplicitConstructor` selfcheck and `google-explicit-constructor` clang-tidy warning --- lib/fwdanalysis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fwdanalysis.h b/lib/fwdanalysis.h index 6d607d116292..17fc29f7b42c 100644 --- a/lib/fwdanalysis.h +++ b/lib/fwdanalysis.h @@ -37,7 +37,7 @@ class Library; */ class FwdAnalysis { public: - FwdAnalysis(const Library &library) : mLibrary(library) {} + explicit FwdAnalysis(const Library &library) : mLibrary(library) {} bool hasOperand(const Token *tok, const Token *lhs) const;