File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments