Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
src: fix node-v8 build
Browse files Browse the repository at this point in the history
Fixes: #354
PR-URL: #355
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Jimmy Thomson <jithomso@microsoft.com>
  • Loading branch information
kunalspathak authored and kfarnung committed Aug 14, 2017
1 parent d934b66 commit a41c632
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/env-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ inline uint32_t* IsolateData::zero_fill_field() const {
inline Environment::AsyncHooks::AsyncHooks(v8::Isolate* isolate)
: isolate_(isolate),
fields_(),
uid_fields_(),
uid_fields_ttdRef(nullptr) {
uid_fields_()
#if ENABLE_TTD_NODE
, uid_fields_ttdRef(nullptr)
#endif
{
v8::HandleScope handle_scope(isolate_);

// kAsyncUidCntr should start at 1 because that'll be the id the execution
Expand Down

0 comments on commit a41c632

Please sign in to comment.