mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-04-21 12:40:45 +03:00
TMP / Fixed NOLINT in main.cpp
This commit is contained in:
parent
cdfaa54bdf
commit
c064492de8
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user