Disable clang-tidy (unused-using-decls) (#1287)

The NOLINTBEGIN block only covers warnings on `long` types and other styling issues but not clang-tidies.
This commit is contained in:
Vy Nguyen 2021-11-19 06:12:59 -05:00 committed by GitHub
parent 8722d6f014
commit 91ed7eea68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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