From da82a406997029b375e5357014dfa1d467cc2bd8 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 9 May 2024 21:53:49 -0400 Subject: [PATCH] silly --- CMakeLists.txt | 2 +- include/blt/parse/templating.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }