Don't error out when non-const value is passed as a const specified
parameter to a function. When function arguments are marked as const, this means that the function should not modify them, not that non-const arguments are not allowed. This also fixes a test that began failing because this change resulted in a slightly different error message when conversion to a const qualified argument is not possible.
Showing
Please register or sign in to comment