Brett 2024-05-09 21:53:49 -04:00
parent fa979a2fd4
commit da82a40699
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) include(cmake/color.cmake)
set(BLT_VERSION 0.16.24) set(BLT_VERSION 0.16.25)
set(BLT_TEST_VERSION 0.0.1) set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -212,7 +212,7 @@ namespace blt
return ""; return "";
auto token = storage[getPreviousIndex()]; auto token = storage[getPreviousIndex()];
auto len = (&token.token.back() - &raw_string.front()) - last_read_index; auto len = (&token.token.back() - &raw_string.front()) - last_read_index;
auto str = std::string_view(&raw_string[lasomt_read_index], len); auto str = std::string_view(&raw_string[last_read_index], len);
last_read_index += len; last_read_index += len;
return str; return str;
} }