diff options
author | nobounce <steffen.winter@proton.me> | 2023-10-03 13:32:28 +0200 |
---|---|---|
committer | Steffen Winter <steffen.winter@proton.me> | 2024-01-03 17:25:09 +0100 |
commit | b124db78c071af5cae047549559f801d05438d71 (patch) | |
tree | ff5054e37fd9a61e2f3dd429c8372943d33d7a5e /src/btop.cpp | |
parent | f6cab3d3bdc06bec91c5b3681fbb2f00418e17ef (diff) |
Don't pass int by reference
Diffstat (limited to 'src/btop.cpp')
-rw-r--r-- | src/btop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btop.cpp b/src/btop.cpp index 6a57240..6c7eb99 100644 --- a/src/btop.cpp +++ b/src/btop.cpp @@ -112,7 +112,7 @@ namespace Global { } //* A simple argument parser -void argumentParser(const int& argc, char **argv) { +void argumentParser(const int argc, char **argv) { for(int i = 1; i < argc; i++) { const string argument = argv[i]; if (is_in(argument, "-h", "--help")) { |