I have a legacy function that looks like this:
int Random() const { return var_ ? 4 : 0; }
and I need to call a function within that lega
Without using const casts, could you try creating a new instance of the class in the Random() method?
Random()