From e3c925ed1186aa6924527b08671293b98be784c7 Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 14 Sep 2024 17:09:37 -0400 Subject: [PATCH] fix ambuguity --- CMakeLists.txt | 2 +- include/blt/meta/config_generator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; \