Commit: 1ebfffa310b4e2d22c2aee06ee80fc464e110bc0
Author: Jacques Lucke
Date: Mon Aug 12 17:55:52 2019 +0200
Branches: functions
https://developer.blender.org/rB1ebfffa310b4e2d22c2aee06ee80fc464e110bc0
fix compile error on windows
===================================================================
M source/blender/blenlib/BLI_string_ref.hpp
===================================================================
diff --git a/source/blender/blenlib/BLI_string_ref.hpp
b/source/blender/blenlib/BLI_string_ref.hpp
index 65affae159b..fcacf308ce8 100644
--- a/source/blender/blenlib/BLI_string_ref.hpp
+++ b/source/blender/blenlib/BLI_string_ref.hpp
@@ -24,6 +24,7 @@
#include <cstring>
#include <string>
+#include <sstream>
#include "BLI_utildefines.h"
#include "BLI_alloca.h"
@@ -229,7 +230,7 @@ inline bool StringRefBase::endswith(StringRef suffix) const
BLI::StringRef a_ref(a); \
BLI::StringRef b_ref(b); \
uint characters = a_ref.size() + b_ref.size(); \
- char *result##_ptr = (char*) BLI_array_alloca(result##_ptr, characters +
1); \
+ char *result##_ptr = (char *)BLI_array_alloca(result##_ptr, characters +
1); \
for (uint i = 0; i < a_ref.size(); i++) \
result##_ptr[i] = a_ref[i]; \
for (uint i = 0; i < b_ref.size(); i++) \
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs