[Bf-blender-cvs] [d6ac3fd2f25] functions: rename file

Jacques Lucke noreply at git.blender.org
Thu Sep 5 19:11:41 CEST 2019


Commit: d6ac3fd2f25552cd8a1d3cff16d6774b86794f87
Author: Jacques Lucke
Date:   Thu Sep 5 12:14:57 2019 +0200
Branches: functions
https://developer.blender.org/rBd6ac3fd2f25552cd8a1d3cff16d6774b86794f87

rename file

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

M	source/blender/blenkernel/BKE_attributes_ref.hpp
M	source/blender/blenlib/BLI_array_ref.hpp
M	source/blender/blenlib/BLI_chunked_range.hpp
R100	source/blender/blenlib/BLI_range.hpp	source/blender/blenlib/BLI_index_range.hpp
M	source/blender/blenlib/CMakeLists.txt
R097	source/blender/blenlib/intern/BLI_range.cpp	source/blender/blenlib/intern/BLI_index_range.cpp
M	source/blender/functions/core/data_graph.hpp
M	tests/gtests/blenlib/BLI_range_test.cc

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

diff --git a/source/blender/blenkernel/BKE_attributes_ref.hpp b/source/blender/blenkernel/BKE_attributes_ref.hpp
index c30392eb60a..f0e811ae414 100644
--- a/source/blender/blenkernel/BKE_attributes_ref.hpp
+++ b/source/blender/blenkernel/BKE_attributes_ref.hpp
@@ -5,7 +5,7 @@
 #include "BLI_array_ref.hpp"
 #include "BLI_math.hpp"
 #include "BLI_optional.hpp"
-#include "BLI_range.hpp"
+#include "BLI_index_range.hpp"
 #include "BLI_set_vector.hpp"
 #include "BLI_set.hpp"
 #include "BLI_string_map.hpp"
diff --git a/source/blender/blenlib/BLI_array_ref.hpp b/source/blender/blenlib/BLI_array_ref.hpp
index 36256e52ad0..582a07b0dbb 100644
--- a/source/blender/blenlib/BLI_array_ref.hpp
+++ b/source/blender/blenlib/BLI_array_ref.hpp
@@ -42,7 +42,7 @@
 
 #include "BLI_utildefines.h"
 #include "BLI_memory.hpp"
-#include "BLI_range.hpp"
+#include "BLI_index_range.hpp"
 
 namespace BLI {
 
diff --git a/source/blender/blenlib/BLI_chunked_range.hpp b/source/blender/blenlib/BLI_chunked_range.hpp
index 124dbd05dd6..6165db1d33a 100644
--- a/source/blender/blenlib/BLI_chunked_range.hpp
+++ b/source/blender/blenlib/BLI_chunked_range.hpp
@@ -22,7 +22,7 @@
 
 #pragma once
 
-#include "BLI_range.hpp"
+#include "BLI_index_range.hpp"
 
 namespace BLI {
 
diff --git a/source/blender/blenlib/BLI_range.hpp b/source/blender/blenlib/BLI_index_range.hpp
similarity index 100%
rename from source/blender/blenlib/BLI_range.hpp
rename to source/blender/blenlib/BLI_index_range.hpp
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt
index e658d5726ae..823c2066a37 100644
--- a/source/blender/blenlib/CMakeLists.txt
+++ b/source/blender/blenlib/CMakeLists.txt
@@ -247,8 +247,8 @@ set(SRC
   BLI_monotonic_allocator.hpp
   BLI_object_pool.hpp
   BLI_optional.hpp
-  BLI_range.hpp
-  intern/BLI_range.cpp
+  BLI_index_range.hpp
+  intern/BLI_index_range.cpp
   BLI_refcount.hpp
   BLI_vector.hpp
   BLI_map.hpp
diff --git a/source/blender/blenlib/intern/BLI_range.cpp b/source/blender/blenlib/intern/BLI_index_range.cpp
similarity index 97%
rename from source/blender/blenlib/intern/BLI_range.cpp
rename to source/blender/blenlib/intern/BLI_index_range.cpp
index 8e11fc474fc..db7e14c4a89 100644
--- a/source/blender/blenlib/intern/BLI_range.cpp
+++ b/source/blender/blenlib/intern/BLI_index_range.cpp
@@ -14,7 +14,7 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#include "BLI_range.hpp"
+#include "BLI_index_range.hpp"
 #include "BLI_array_ref.hpp"
 
 namespace BLI {
diff --git a/source/blender/functions/core/data_graph.hpp b/source/blender/functions/core/data_graph.hpp
index ba6bcb918c6..cdf4c28ae45 100644
--- a/source/blender/functions/core/data_graph.hpp
+++ b/source/blender/functions/core/data_graph.hpp
@@ -23,7 +23,7 @@
  * an output or output has to be stored.
  */
 
-#include "BLI_range.hpp"
+#include "BLI_index_range.hpp"
 #include "BLI_map.hpp"
 #include "BLI_monotonic_allocator.hpp"
 
diff --git a/tests/gtests/blenlib/BLI_range_test.cc b/tests/gtests/blenlib/BLI_range_test.cc
index 8e041528f09..74c5522103f 100644
--- a/tests/gtests/blenlib/BLI_range_test.cc
+++ b/tests/gtests/blenlib/BLI_range_test.cc
@@ -1,5 +1,5 @@
 #include "testing/testing.h"
-#include "BLI_range.hpp"
+#include "BLI_index_range.hpp"
 #include "BLI_chunked_range.hpp"
 #include "BLI_vector.hpp"



More information about the Bf-blender-cvs mailing list