Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Commit

Permalink
Update ICU calls with a version-independent namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
hferreiro committed Nov 23, 2017
1 parent f5fb266 commit 764ca2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/inspector_io.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
namespace node {
namespace inspector {
namespace {
using icu_59::UnicodeString;
using icu_59::CheckedArrayByteSink;
using icu_59::StringPiece;
using icu::UnicodeString;
using icu::CheckedArrayByteSink;
using icu::StringPiece;
using v8_inspector::StringBuffer;
using v8_inspector::StringView;

Expand Down
2 changes: 1 addition & 1 deletion src/node_i18n.cc
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static const char* GetVersion(const char* type,
} else if (!strcmp(type, TYPE_UNICODE)) {
return U_UNICODE_VERSION;
} else if (!strcmp(type, TYPE_TZ)) {
return icu_59::TimeZone::getTZDataVersion(*status);
return icu::TimeZone::getTZDataVersion(*status);
} else if (!strcmp(type, TYPE_CLDR)) {
UVersionInfo versionArray;
ulocdata_getCLDRVersion(versionArray, status);
Expand Down

0 comments on commit 764ca2f

Please sign in to comment.