Skip to content

Commit

Permalink
ignoring warning_logger
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Apr 7, 2023
1 parent 1da6d7d commit 756d00c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/my-gists
4 changes: 1 addition & 3 deletions src/shioricaller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ int wmain(int argc, wchar_t* argv[]){
auto error_handler = [](Cshiori::Error err) {
std::cerr << RED_OUTPUT("Error: " << to_ansi_colored_string(err)) << std::endl;
};
auto warning_handler = nullptr;//shioricaller does not need to handle warnings as it is only used for basic purposes

Cshiori shiori{
argv[1],
Cshiori::error_logger_type{
error_handler,
warning_handler
error_handler
}
};

Expand Down

0 comments on commit 756d00c

Please sign in to comment.