You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not avoid copying array content for const ** arrays. Do that for * consts.
This fixesbytedeco#776
Before this change, we did not copy array contents back to the argument array
for "const **" as it is regarded as immutable. But it in fact it mutable.
This StackOverflow question describes it well.
https://stackoverflow.com/questions/4949254/const-char-const-versus-const-char
After this change, it will avoid copying if the parameter pointer itself is
const.
0 commit comments