diff --git a/CMakeLists.txt b/CMakeLists.txt index 714721a..b88d6e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 5.2.25) +set(BLT_VERSION 5.2.26) set(BLT_TARGET BLT) diff --git a/include/blt/logging/logging.h b/include/blt/logging/logging.h index f91d666..778a2b4 100644 --- a/include/blt/logging/logging.h +++ b/include/blt/logging/logging.h @@ -39,6 +39,8 @@ namespace blt::logging template std::string log(std::string fmt, Args&&... args) { + if (fmt.empty()) + return fmt; auto sequence = std::make_integer_sequence{}; m_arg_print_funcs.clear(); m_arg_print_funcs.resize(sizeof...(Args));