[Bf-blender-cvs] [c20301adf1f] functions: fix build error
Jacques Lucke
noreply at git.blender.org
Thu Aug 22 14:19:38 CEST 2019
Commit: c20301adf1faa698a6499dd56e94336a50c1ebe5
Author: Jacques Lucke
Date: Thu Aug 22 14:19:30 2019 +0200
Branches: functions
https://developer.blender.org/rBc20301adf1faa698a6499dd56e94336a50c1ebe5
fix build error
===================================================================
M source/blender/blenlib/BLI_string_map.hpp
===================================================================
diff --git a/source/blender/blenlib/BLI_string_map.hpp b/source/blender/blenlib/BLI_string_map.hpp
index beebe86a9c9..d65612878ec 100644
--- a/source/blender/blenlib/BLI_string_map.hpp
+++ b/source/blender/blenlib/BLI_string_map.hpp
@@ -311,7 +311,7 @@ template<typename T, typename Allocator = GuardedAllocator> class StringMap {
}
private:
- constexpr uint32_t compute_string_hash(StringRef key) const
+ uint32_t compute_string_hash(StringRef key) const
{
/* TODO: check if this can be optimized more because we know the key length already. */
uint32_t hash = 5381;
More information about the Bf-blender-cvs
mailing list