projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include suggested changes by clang-tidy
[pulseview.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index ce1257300383e30fe1b6daa8893820737699cac4..dc3f739f25cdac5451502ca2e3462cf7acc93df6 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-236,7
+236,7
@@
int main(int argc, char *argv[])
break;
case 'i':
break;
case 'i':
- open_files.
push
_back(optarg);
+ open_files.
emplace
_back(optarg);
break;
case 'I':
break;
case 'I':
@@
-252,7
+252,7
@@
int main(int argc, char *argv[])
argv += optind;
for (int i = 0; i < argc; i++)
argv += optind;
for (int i = 0; i < argc; i++)
- open_files.
push
_back(argv[i]);
+ open_files.
emplace
_back(argv[i]);
// Prepare the global settings since logging needs them early on
pv::GlobalSettings settings;
// Prepare the global settings since logging needs them early on
pv::GlobalSettings settings;