IAP GITLAB

Skip to content
Snippets Groups Projects
Commit bdedebf7 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Nikos Karastathis
Browse files

verbosity flag corrected

parent b0825057
No related branches found
No related tags found
1 merge request!437Resolve "Examples need some polishing"
......@@ -66,7 +66,7 @@
#include <iomanip>
#include <limits>
#include <string>
#include <string_view>
/*
NOTE, WARNING, ATTENTION
......@@ -169,7 +169,7 @@ int main(int argc, char** argv) {
CLI11_PARSE(app, argc, argv);
if (app.count("--verbosity")) {
string const loglevel = app["verbosity"]->as<string>();
std::string_view const loglevel = app["--verbosity"]->as<std::string_view>();
if (loglevel == "warn") {
logging::set_level(logging::level::warn);
} else if (loglevel == "info") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment