Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymen Naghmouchi <aymen.aymen@live.it>2019-02-26 13:53:30 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-05 03:42:15 +0300
commitf18ae251938ed94f3fb2d8090b32b01f2233ee6b (patch)
tree9929ac85543ae0234f67792bf2f88dfc2dca0701 /src/tty_wrap.cc
parent038a1a489d6d0a4d5c075611943b3c7c08f0e22a (diff)
src: remove unused namespace
PR-URL: https://github.com/nodejs/node/pull/26318 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/tty_wrap.cc')
-rw-r--r--src/tty_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc
index dc9dc351423..7b8a7ed2274 100644
--- a/src/tty_wrap.cc
+++ b/src/tty_wrap.cc
@@ -114,7 +114,7 @@ void TTYWrap::GetWindowSize(const FunctionCallbackInfo<Value>& args) {
int err = uv_tty_get_winsize(&wrap->handle_, &width, &height);
if (err == 0) {
- Local<v8::Array> a = args[0].As<Array>();
+ Local<Array> a = args[0].As<Array>();
a->Set(env->context(), 0, Integer::New(env->isolate(), width)).FromJust();
a->Set(env->context(), 1, Integer::New(env->isolate(), height)).FromJust();
}