fix ambuguity

v1
Brett 2024-09-14 17:09:37 -04:00
parent 494125214f
commit e3c925ed11
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) 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_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -33,7 +33,7 @@ namespace blt
NAME = new_##NAME; \ NAME = new_##NAME; \
return *this; \ return *this; \
} \ } \
auto& set_##NAME(TYPE new_##NAME) \ auto& set_##NAME(TYPE&& new_##NAME) \
{ \ { \
NAME = std::move(new_##NAME); \ NAME = std::move(new_##NAME); \
return *this; \ return *this; \