Skip to content

Commit

Permalink
url: fix building when using --without-intl
Browse files Browse the repository at this point in the history
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 12, 2016
1 parent 839f1f0 commit 1afd7c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_url.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 1afd7c1

Please sign in to comment.