[Bf-blender-cvs] [49af2f85c3f] master: BLI: fix forwarding with incorrect type

Jacques Lucke noreply at git.blender.org
Thu Jun 11 16:01:54 CEST 2020


Commit: 49af2f85c3f1cfee4e2344a9eef5a2cb8bb5905f
Author: Jacques Lucke
Date:   Thu Jun 11 16:01:25 2020 +0200
Branches: master
https://developer.blender.org/rB49af2f85c3f1cfee4e2344a9eef5a2cb8bb5905f

BLI: fix forwarding with incorrect type

===================================================================

M	source/blender/blenlib/BLI_map.hh

===================================================================

diff --git a/source/blender/blenlib/BLI_map.hh b/source/blender/blenlib/BLI_map.hh
index f20f7b47647..48c58341525 100644
--- a/source/blender/blenlib/BLI_map.hh
+++ b/source/blender/blenlib/BLI_map.hh
@@ -470,7 +470,7 @@ class Map {
                         const ModifyValueF &modify_value) -> decltype(create_value(nullptr))
   {
     return this->add_or_modify__impl(
-        std::forward<Key>(key), create_value, modify_value, m_hash(key));
+        std::forward<ForwardKey>(key), create_value, modify_value, m_hash(key));
   }
 
   /**



More information about the Bf-blender-cvs mailing list