diff options
Diffstat (limited to 'src/node/ext/call.h')
-rw-r--r-- | src/node/ext/call.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/node/ext/call.h b/src/node/ext/call.h index 4074f1509b..dbdb8e2ff6 100644 --- a/src/node/ext/call.h +++ b/src/node/ext/call.h @@ -43,6 +43,7 @@ #include "channel.h" + namespace grpc { namespace node { @@ -81,12 +82,14 @@ class Op { virtual std::string GetTypeString() const = 0; }; +typedef std::vector<unique_ptr<Op>> OpVec; + struct tag { - tag(NanCallback *callback, std::vector<unique_ptr<Op> > *ops, + tag(NanCallback *callback, OpVec *ops, shared_ptr<Resources> resources); ~tag(); NanCallback *callback; - std::vector<unique_ptr<Op> > *ops; + OpVec *ops; shared_ptr<Resources> resources; }; |