From 796986f38c5741f6f20e41d74b3b640eecdf1941 Mon Sep 17 00:00:00 2001 From: Hui Date: Tue, 2 Oct 2018 19:21:41 +0800 Subject: [PATCH] Fix return type in README file. void function should not return 1. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6707f291..09f505dd 100644 --- a/README.md +++ b/README.md @@ -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; } } ```