Reformat
This commit is contained in:
parent
b9d951ec9a
commit
c2d0033f78
4 changed files with 87 additions and 12 deletions
13
src/main.cpp
13
src/main.cpp
|
@ -1,20 +1,11 @@
|
|||
#include <clippy/clippy.hpp>
|
||||
#include <utils/parametres.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
std::vector<std::string> ParseInputParameters(int argc, char* argv[]) {
|
||||
std::vector<std::string> result;
|
||||
result.reserve(argc);
|
||||
|
||||
for (size_t i = 0; i < argc; ++i) {
|
||||
result.emplace_back(argv[i]);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
using namespace utils::parametres;
|
||||
auto params = ParseInputParameters(argc, argv);
|
||||
|
||||
Clippy clippy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue