Skip to content

Commit 7d8dc2d

Browse files
committed
[parser] Fix build error introduced with previous commit.
1 parent 7c85b48 commit 7d8dc2d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/base/configbase.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,14 +1067,11 @@ static_assert(
10671067
/// This macro evaluates the specified expression, and halts execution (in debug builds) or throws
10681068
/// an exception (in release builds) if the expression does not hold true.
10691069
/// @attention
1070-
/// This macro is intended for special builds only, and will deliberately trigger a
1071-
/// compile-time error if used in a final release build.
1070+
/// This macro is intended for special builds only, and should _never_ be used in mainline versions!
10721071
#if POV_DEBUG
10731072
#define POV_EXPERIMENTAL_ASSERT(expr) POV_ASSERT_HARD(expr)
1074-
#elif defined(POV_RAY_PRERELEASE)
1075-
#define POV_EXPERIMENTAL_ASSERT(expr) POV_ASSERT_SOFT(expr)
10761073
#else
1077-
#define POV_EXPERIMENTAL_ASSERT(expr) static_assert(, "POV_EXPERIMENTAL_ASSERT() used in final release")
1074+
#define POV_EXPERIMENTAL_ASSERT(expr) POV_ASSERT_SOFT(expr)
10781075
#endif
10791076

10801077
#if POV_COLOURSPACE_DEBUG

0 commit comments

Comments
 (0)