mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
url: fix building when using --without-intl
Fix compile bug when building with the --without-intl option
(introduced by 4b312387ea
)
PR-URL: https://github.com/nodejs/node/pull/9041
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
parent
3d54ea4304
commit
774d737cdb
@ -129,12 +129,12 @@ namespace url {
|
||||
#else
|
||||
// Intentional non-ops if ICU is not present.
|
||||
static int ToUnicode(std::string* input, std::string* output) {
|
||||
output->reserve(input.length());
|
||||
output->reserve(input->length());
|
||||
*output = input->c_str();
|
||||
}
|
||||
|
||||
static int ToASCII(std::string* input, std::string* output) {
|
||||
output->reserve(input.length());
|
||||
output->reserve(input->length());
|
||||
*output = input->c_str();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user