Skip to content

Commit

Permalink
deps: v8: remove unnecessary toUCharPtr
Browse files Browse the repository at this point in the history
- breaks on ubuntu with icu 57 from the system
  • Loading branch information
srl295 committed Mar 5, 2018
1 parent 1d2ab79 commit 384ab7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/src/runtime/runtime-intl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ RUNTIME_FUNCTION(Runtime_PluralRulesSelect) {
return *isolate->factory()
->NewStringFromTwoByte(Vector<const uint16_t>(
reinterpret_cast<const uint16_t*>(
icu::toUCharPtr(result.getBuffer())),
result.getBuffer()),
result.length()))
.ToHandleChecked();
}
Expand Down

0 comments on commit 384ab7d

Please sign in to comment.