Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Dec 9, 2023
1 parent a7a4cdb commit 8e3e170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int main(int argc, char** argv)
return 0;
}

bool parse_param(const int argc, const char** argv, std::unordered_map<std::string, std::string>& options,
bool parse_param(int argc, char** argv, std::unordered_map<std::string, std::string>& options,
std::unordered_map<std::string, bool> flags)
{
std::unordered_set<std::string> allowed_param = { "control", "device", "tasks", "init" };
Expand Down
2 changes: 1 addition & 1 deletion source/cli/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "device.h"
#include "tasks.h"

bool parse_param(const int argc, const char** argv, std::unordered_map<std::string, std::string>& options,
bool parse_param(int argc, char** argv, std::unordered_map<std::string, std::string>& options,
std::unordered_map<std::string, bool> flags);

void print_help();
Expand Down

0 comments on commit 8e3e170

Please sign in to comment.