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:
Diffstat (limited to 'source/blender/blenlib/BLI_devirtualize_parameters.hh')
-rw-r--r--source/blender/blenlib/BLI_devirtualize_parameters.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_devirtualize_parameters.hh b/source/blender/blenlib/BLI_devirtualize_parameters.hh
index 07458906756..77b6223f310 100644
--- a/source/blender/blenlib/BLI_devirtualize_parameters.hh
+++ b/source/blender/blenlib/BLI_devirtualize_parameters.hh
@@ -154,7 +154,8 @@ template<typename Fn, typename... SourceTypes> class Devirtualizer {
/* Non-devirtualized parameter type. */
using SourceType = type_at_index<I>;
/* A bit flag indicating what devirtualizations are allowed in this step. */
- constexpr DeviMode allowed_modes = DeviModeSequence<AllowedModes...>::template at_index<I>();
+ [[maybe_unused]] constexpr DeviMode allowed_modes =
+ DeviModeSequence<AllowedModes...>::template at_index<I>();
/* Handle #VArray types. */
if constexpr (is_VArray_v<SourceType>) {