diff options
Diffstat (limited to 'source/blender/depsgraph/util/deg_util_foreach.h')
-rw-r--r-- | source/blender/depsgraph/util/deg_util_foreach.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/source/blender/depsgraph/util/deg_util_foreach.h b/source/blender/depsgraph/util/deg_util_foreach.h index cb7361fc708..5484192207b 100644 --- a/source/blender/depsgraph/util/deg_util_foreach.h +++ b/source/blender/depsgraph/util/deg_util_foreach.h @@ -30,19 +30,4 @@ #pragma once -#if (__cplusplus > 199711L) || (defined(_MSC_VER) && _MSC_VER >= 1800) -# define foreach(x, y) for(x : y) -#elif defined(HAVE_BOOST_FUNCTION_BINDINGS) -# include <boost/foreach.hpp> -# define foreach BOOST_FOREACH -#else -#pragma message("No available foreach() implementation. Using stub instead, disabling new depsgraph") - -#ifndef WITH_LEGACY_DEPSGRAPH -# error "Unable to build new depsgraph and legacy one is disabled." -#endif - -#define DISABLE_NEW_DEPSGRAPH - -# define foreach(x, y) for (x; false; (void)y) -#endif +#define foreach(x, y) for(x : y) |