Unverified Commit 796986f3 authored by Hui's avatar Hui Committed by GitHub

Fix return type in README file.

void function should not return 1.
parent c5011181
...@@ -128,7 +128,7 @@ void basic_logfile_example() ...@@ -128,7 +128,7 @@ void basic_logfile_example()
catch (const spdlog::spdlog_ex &ex) catch (const spdlog::spdlog_ex &ex)
{ {
std::cout << "Log init failed: " << ex.what() << std::endl; std::cout << "Log init failed: " << ex.what() << std::endl;
return 1; return;
} }
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment