fix ambuguity
parent
494125214f
commit
e3c925ed11
|
@ -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)
|
||||
|
|
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue