diff --git a/CMakeLists.txt b/CMakeLists.txt index 81a65aa..4d9aa74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(blt-gp VERSION 0.0.132) +project(blt-gp VERSION 0.0.133) include(CTest) diff --git a/include/blt/gp/operations.h b/include/blt/gp/operations.h index c2ed5a9..a542c05 100644 --- a/include/blt/gp/operations.h +++ b/include/blt/gp/operations.h @@ -181,11 +181,11 @@ namespace blt::gp if constexpr (detail::is_same_v::type>>) { // first arg is context - write_allocator.push(this->operator()(context, read_allocator)); + write_allocator.push(std::move(this->operator()(context, read_allocator))); } else { // first arg isn't context - write_allocator.push(this->operator()(read_allocator)); + write_allocator.push(std::move(this->operator()(read_allocator))); } }; }