Skip to content

Commit

Permalink
Replace node::ObjectWrap with Nan::ObjectWrap
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo committed Sep 6, 2017
1 parent aa61187 commit fe4328b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/nroonga.cc
@@ -1,4 +1,3 @@
#include <nan.h>
#include "nroonga.h"

namespace nroonga {
Expand Down
3 changes: 2 additions & 1 deletion src/nroonga.h
@@ -1,5 +1,6 @@
#ifndef NROONGA_GROONGA_H
#define NROONGA_GROONGA_H
#include <nan.h>
#include <uv.h>
#include <node.h>
#include <node_object_wrap.h>
Expand All @@ -13,7 +14,7 @@ using namespace node;

namespace nroonga {

class Database : public node::ObjectWrap {
class Database : public Nan::ObjectWrap {
grn_ctx context;
grn_obj *database;
bool closed;
Expand Down

0 comments on commit fe4328b

Please sign in to comment.