From 6d5d4e738caad61152427f2b3b0c3fa09b52ce03 Mon Sep 17 00:00:00 2001 From: blacktea <42189825+blacktea@users.noreply.github.com> Date: Tue, 20 Jul 2021 18:48:09 +0300 Subject: [PATCH] Move object in pop method of List. (#3116) * Move item instead of copy. * Make Clang 3.6 happy. Co-authored-by: c99 --- include/pybind11/stl_bind.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/pybind11/stl_bind.h b/include/pybind11/stl_bind.h index effac0b9..82317b37 100644 --- a/include/pybind11/stl_bind.h +++ b/include/pybind11/stl_bind.h @@ -191,7 +191,7 @@ void vector_modifiers(enable_if_t