Fix return type in README file.

void function should not return 1.
This commit is contained in:
Hui 2018-10-02 19:21:41 +08:00 committed by GitHub
parent c5011181bb
commit 796986f38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void basic_logfile_example()
catch (const spdlog::spdlog_ex &ex)
{
std::cout << "Log init failed: " << ex.what() << std::endl;
return 1;
return;
}
}
```