From 6c8f0cb6bb7175ca89ebcb5206a30a9258fa7b8f Mon Sep 17 00:00:00 2001 From: Armin Friedl Date: Sun, 31 Jan 2021 22:26:53 +0100 Subject: [PATCH] Don't return void --- src/util/log.hpp | 2 +- test/archive_test.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/log.hpp b/src/util/log.hpp index cbd6585..9746f7b 100644 --- a/src/util/log.hpp +++ b/src/util/log.hpp @@ -72,7 +72,7 @@ void init(spdlog::level::level_enum level = spdlog::level::level_enum::off) { return; } - return spdlog::set_level(_init_from_compile()); + spdlog::set_level(_init_from_compile()); } } // namespace log diff --git a/test/archive_test.cpp b/test/archive_test.cpp index 2450fb0..f548415 100644 --- a/test/archive_test.cpp +++ b/test/archive_test.cpp @@ -1,6 +1,7 @@ #include #include +#include #include TEST(ArchiveTest, ArchiveSpecDetectsSingleRoot) {