From 91ed7eea6856f8785139c58fbcc827e82579243c Mon Sep 17 00:00:00 2001 From: Vy Nguyen Date: Fri, 19 Nov 2021 06:12:59 -0500 Subject: [PATCH] Disable clang-tidy (unused-using-decls) (#1287) The NOLINTBEGIN block only covers warnings on `long` types and other styling issues but not clang-tidies. --- src/string_util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/string_util.h b/src/string_util.h index d1c88406..ff3b7da4 100644 --- a/src/string_util.h +++ b/src/string_util.h @@ -54,9 +54,9 @@ unsigned long stoul(const std::string& str, size_t* pos = nullptr, int stoi(const std::string& str, size_t* pos = nullptr, int base = 10); double stod(const std::string& str, size_t* pos = nullptr); #else -using std::stod; -using std::stoi; -using std::stoul; +using std::stod; // NOLINT(misc-unused-using-decls) +using std::stoi; // NOLINT(misc-unused-using-decls) +using std::stoul; // NOLINT(misc-unused-using-decls) #endif // NOLINTEND