diff --git a/CMakeLists.txt b/CMakeLists.txt index c694dc3..d1f0219 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) 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_TARGET BLT) diff --git a/include/blt/parse/templating.h b/include/blt/parse/templating.h index 37217ff..9857811 100644 --- a/include/blt/parse/templating.h +++ b/include/blt/parse/templating.h @@ -212,7 +212,7 @@ namespace blt return ""; auto token = storage[getPreviousIndex()]; 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; return str; }