Skip to content

Commit 88dd798

Browse files
committed
get_value_set_rec: Replace mutable class member by additional parameter
There is no change in behaviour here, just cleanup to avoid a use of `mutable` that was only put in place to keep the code churn to a minimum.
1 parent 63f3a8d commit 88dd798

File tree

5 files changed

+229
-52
lines changed

5 files changed

+229
-52
lines changed

jbmc/unit/pointer-analysis/custom_value_set_analysis.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class test_value_sett:public value_sett
7878
void get_value_set_rec(
7979
const exprt &expr,
8080
object_mapt &dest,
81+
bool &includes_nondet_pointer,
8182
const std::string &suffix,
8283
const typet &original_type,
8384
const namespacet &ns) const override
@@ -91,7 +92,7 @@ class test_value_sett:public value_sett
9192
else
9293
{
9394
value_sett::get_value_set_rec(
94-
expr, dest, suffix, original_type, ns);
95+
expr, dest, includes_nondet_pointer, suffix, original_type, ns);
9596
}
9697
}
9798

0 commit comments

Comments
 (0)