src: fix windows-only build breakage
Commit af6af084 introduced a build error in a Windows-only code path in src/node_url.cc. Fix it by making the code a little nicer in general: const-ify the `input` parameter to `ToASCII()` and `ToUnicode()`. PR-URL: https://github.com/nodejs/node/pull/15724 Refs: https://github.com/nodejs/node/pull/15615 Refs: https://github.com/nodejs/node/pull/15723 Reviewed-By:Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Tobias Nießen <tniessen@tnie.de>
parent
5630c8cd
Please register or sign in to comment