[ERROR]
If a reference is initialized by a constant, the reference has to be constant as well
int &ref = 4; // err
Declare the reference as constant.