Skip to content

Commit

Permalink
Merge pull request #359 from piec/master
Browse files Browse the repository at this point in the history
Fix build issue #356
  • Loading branch information
robertsLando authored Jan 16, 2020
2 parents b9df0cf + 52f7792 commit fbc15d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/openzwave-groups.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,16 @@ namespace OZW {

for (uint8 i = 0; i < numNodes; i++) {
Local <Object> info = Nan::New<Object>();
info->Set(
Nan::Set(info,
Nan::New<String>("instance").ToLocalChecked(),
Nan::New<Integer>(associations[i].m_instance)
);
info->Set(
Nan::Set(info,
Nan::New<String>("nodeid").ToLocalChecked(),
Nan::New<Integer>(associations[i].m_nodeId)
);

o_assocs->Set(Nan::New<Integer>(i), info);
Nan::Set(o_assocs, Nan::New<Integer>(i), info);
}

if (numNodes > 0) {
Expand Down

0 comments on commit fbc15d9

Please sign in to comment.