logging?
parent
284743c683
commit
729a16ab57
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
include(cmake/color.cmake)
|
||||
set(BLT_VERSION 5.2.33)
|
||||
set(BLT_VERSION 5.2.34)
|
||||
|
||||
set(BLT_TARGET BLT)
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ namespace blt::logging
|
|||
std::optional<std::pair<size_t, size_t>> logger_t::consume_to_next_fmt()
|
||||
{
|
||||
auto begin = m_fmt.find('{', m_last_fmt_pos);
|
||||
while (begin > 0 && m_fmt[begin - 1] == '\\')
|
||||
while (begin != std::string::npos && begin > 0 && m_fmt[begin - 1] == '\\')
|
||||
begin = m_fmt.find('{', begin + 1);;
|
||||
if (begin == std::string::npos)
|
||||
return {};
|
||||
|
|
Loading…
Reference in New Issue