From ff5a30c7782dc10c8871f4d7623c69d187380e62 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Sat, 10 Aug 2024 19:53:39 -0400 Subject: [PATCH] move return --- CMakeLists.txt | 2 +- include/blt/gp/operations.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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))); } }; }