Permalink
Browse files

url: fix building when using --without-intl

Fix compile bug when building with the --without-intl option
(introduced by 4b31238)

PR-URL: #9041
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information...
jasnell committed Oct 11, 2016
1 parent 3d54ea4 commit 774d737cdb9b66fe454fc1ee86fd39ed1d02299e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/node_url.cc
View
@@ -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();
}

0 comments on commit 774d737

Please sign in to comment.