Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-07-19 12:23:50 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-07-19 12:23:50 +0400
commit0a3fc1d9c8becc32c63ae736ca2b3719a3d03c5b (patch)
tree113826e9922f8097f2ef03450bde0a53d2b3fe60 /src/node_stat_watcher.h
parent2e16ae703ee5d14cf7199218b3112407a188af42 (diff)
Remove StatWatcher's dep on C++ EventEmitter
Diffstat (limited to 'src/node_stat_watcher.h')
-rw-r--r--src/node_stat_watcher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_stat_watcher.h b/src/node_stat_watcher.h
index af02f0b06b2..f88caef18b8 100644
--- a/src/node_stat_watcher.h
+++ b/src/node_stat_watcher.h
@@ -28,14 +28,14 @@
namespace node {
-class StatWatcher : EventEmitter {
+class StatWatcher : ObjectWrap {
public:
static void Initialize(v8::Handle<v8::Object> target);
protected:
static v8::Persistent<v8::FunctionTemplate> constructor_template;
- StatWatcher() : EventEmitter() {
+ StatWatcher() : ObjectWrap() {
persistent_ = false;
path_ = NULL;
ev_init(&watcher_, StatWatcher::Callback);