Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Fix build error with conversion from Nan::Maybe<double> to v8::Maybe<double> #5

Closed
wants to merge 1 commit into from

Conversation

benbucksch
Copy link

On node 13.2.0, build failed with:
porcupine.cc:131:59: error: conversion from ‘Nan::imp::ValueFactoryBase::return_t’ {aka ‘Nan::Maybe’} to non-scalar type ‘v8::Maybe’ requested
131 | v8::Maybe sensitivityVal = Nan::To(Nan::Get(keywordObject, sensitivityKeyStr).ToLocalChecked());

This fixes the build error.

@benbucksch
Copy link
Author

#Fixes #4

@benbucksch
Copy link
Author

I accidentally included an update to the submodule. Will open a new PR.

@benbucksch benbucksch closed this Mar 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant