Commit d8570b93 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Executable: replace leftover strcmp with string comparison

parent 14176e64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ int main(int argc, const char* argv[]) {

        if(arg == "-h") {
            print_help = true;
        } else if(strcmp(argv[i], "--version") == 0) {
        } else if(arg == "--version") {
            std::cout << "Allpix Squared version " << ALLPIX_PROJECT_VERSION;
#ifdef ALLPIX_BUILD_ENV
            std::cout << " (" << ALLPIX_BUILD_ENV << ")";