From c064492de8dd3e13f1b06810670474bba260ae77 Mon Sep 17 00:00:00 2001 From: OLEGSHA Date: Sun, 26 Mar 2023 13:23:30 +0200 Subject: [PATCH] TMP / Fixed NOLINT in main.cpp --- desktop/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/main.cpp b/desktop/main.cpp index 7587a8a..47b0556 100644 --- a/desktop/main.cpp +++ b/desktop/main.cpp @@ -13,8 +13,8 @@ int main(int argc, char *argv[]) { using namespace progressia; for (int i = 1; i < argc; i++) { - char *arg = argv - [i]; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic): infeasible to avoid in C++17 + // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic): infeasible to avoid in C++17 + char *arg = argv[i]; if (strcmp(arg, "--version") == 0 || strcmp(arg, "-v") == 0) { std::cout << main::meta::NAME << " " << main::meta::VERSION << "+" << main::meta::BUILD_ID << " (version number "