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_listbase_wrapper.hh')
-rw-r--r--source/blender/blenlib/BLI_listbase_wrapper.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_listbase_wrapper.hh b/source/blender/blenlib/BLI_listbase_wrapper.hh
index ed2a2b5e5ec..6313075db9c 100644
--- a/source/blender/blenlib/BLI_listbase_wrapper.hh
+++ b/source/blender/blenlib/BLI_listbase_wrapper.hh
@@ -26,6 +26,7 @@
*/
#include "BLI_listbase.h"
+#include "BLI_unreachable.h"
#include "DNA_listBase.h"
namespace blender {
@@ -105,8 +106,7 @@ template<typename T> class ListBaseWrapper {
}
index++;
}
- BLI_assert(false);
- return -1;
+ BLI_UNREACHABLE_ABORT;
}
};