Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-08 21:41:00 +0300
committerJacques Lucke <jacques@blender.org>2020-07-08 21:41:00 +0300
commit4b85ed819dc0746f6fc46eab1019aab4c4fcf9c9 (patch)
treee3c198be7b3e0f87db5344951b74d507b5983fb0 /source/blender/blenlib/BLI_span.hh
parentf7d5d4ee3bad522691fba36fcfae321a28752d20 (diff)
Cleanup: remove unused function
This is not necessary in C++17 anymore.
Diffstat (limited to 'source/blender/blenlib/BLI_span.hh')
-rw-r--r--source/blender/blenlib/BLI_span.hh8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenlib/BLI_span.hh b/source/blender/blenlib/BLI_span.hh
index 3da96f1f107..9688c93ec14 100644
--- a/source/blender/blenlib/BLI_span.hh
+++ b/source/blender/blenlib/BLI_span.hh
@@ -606,14 +606,6 @@ template<typename T> class MutableSpan {
};
/**
- * Shorthand to make use of automatic template parameter deduction.
- */
-template<typename T> Span<T> ref_c_array(const T *array, uint size)
-{
- return Span<T>(array, size);
-}
-
-/**
* Utilities to check that arrays have the same size in debug builds.
*/
template<typename T1, typename T2> void assert_same_size(const T1 &v1, const T2 &v2)