x can't be const now

This commit is contained in:
Alex Groce 2018-12-05 20:57:10 -07:00
parent c04168437b
commit a608857d52

View File

@ -260,7 +260,7 @@ DEEPSTATE_INLINE static void DeepState_Check(int expr) {
if (low > high) { \ if (low > high) { \
return DeepState_ ## Tname ## InRange(high, low); \ return DeepState_ ## Tname ## InRange(high, low); \
} \ } \
const tname x = DeepState_ ## Tname(); \ tname x = DeepState_ ## Tname(); \
if (DeepState_UsingSymExec) { \ if (DeepState_UsingSymExec) { \
(void) DeepState_Assume(low <= x && x <= high); \ (void) DeepState_Assume(low <= x && x <= high); \
} else { \ } else { \