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:
authorBrecht Van Lommel <brecht@blender.org>2021-01-22 20:14:04 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-01-22 21:24:13 +0300
commita1f44e43a253eabee74f40315b62cc0c0ff4cb9c (patch)
tree7224c22d82b9e62e24e2a09f82c30cd61d1689ed /source/blender/blenlib/BLI_index_range.hh
parent5d6e5a9076e02fdd47c9cf168b368213f6399019 (diff)
Fix T84745: more build errors with TBB 2021
* tbb::blocked_range moved to a different namespace and since the fix is non-trivial, remove some unused code that used this. * Task group priorities are no longer supported. It's unclear if they are useful at all right now and even set correctly, for now all tasks are equal priority with TBB 2021.
Diffstat (limited to 'source/blender/blenlib/BLI_index_range.hh')
-rw-r--r--source/blender/blenlib/BLI_index_range.hh11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/blenlib/BLI_index_range.hh b/source/blender/blenlib/BLI_index_range.hh
index 4121542c887..61a8088edea 100644
--- a/source/blender/blenlib/BLI_index_range.hh
+++ b/source/blender/blenlib/BLI_index_range.hh
@@ -58,11 +58,6 @@
#include "BLI_utildefines.h"
-/* Forward declare tbb::blocked_range for conversion operations. */
-namespace tbb {
-template<typename Value> class blocked_range;
-}
-
namespace blender {
template<typename T> class Span;
@@ -86,12 +81,6 @@ class IndexRange {
BLI_assert(size >= 0);
}
- template<typename T>
- constexpr IndexRange(const tbb::blocked_range<T> &range)
- : start_(range.begin()), size_(range.size())
- {
- }
-
class Iterator {
private:
int64_t current_;