-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: Fix warnings when running npm test
The warnings occur due to a bug in gcc(<5.1.1)[1]. To fix this issue, we can use constructor initializer instead of empty braces initializer. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 Fixes: nodejs/node-addon-api#164 PR-URL: nodejs/node-addon-api#166 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
- Loading branch information
John French
committed
Nov 1, 2017
1 parent
5bf04df
commit f1369ed
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters