diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dfef7d..f593022 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.20.4) +set(BLT_VERSION 0.20.5) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/meta/config_generator.h b/include/blt/meta/config_generator.h index efe06ae..7dcce8b 100644 --- a/include/blt/meta/config_generator.h +++ b/include/blt/meta/config_generator.h @@ -33,7 +33,7 @@ namespace blt NAME = new_##NAME; \ return *this; \ } \ - auto& set_##NAME(TYPE new_##NAME) \ + auto& set_##NAME(TYPE&& new_##NAME) \ { \ NAME = std::move(new_##NAME); \ return *this; \