C2200: Reference object type must be const

[ERROR]

Description

If a reference is initialized by a constant, the reference has to be constant as well

Example
  int &ref = 4; // err

  
Tips

Declare the reference as constant.

See also