• Ian Henriksen's avatar
    Don't error out when non-const value is passed as a const specified · 16ad9e21
    Ian Henriksen authored
    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.
    16ad9e21
cpp_no_auto_conversion.pyx 643 Bytes