aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/call_credentials.h
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-12-06 11:00:39 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-12-06 11:00:39 -0800
commitc6bbc4708c1b2a8fa41e593e2aca5863a144daca (patch)
treef6678857da12fbb4e083e5dd585ddfc03f47cb09 /src/node/ext/call_credentials.h
parent93904c0dc8315dee04af29091e7033ad50797918 (diff)
Replace usages of std::list with std::queue in Node extension
Diffstat (limited to 'src/node/ext/call_credentials.h')
-rw-r--r--src/node/ext/call_credentials.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/ext/call_credentials.h b/src/node/ext/call_credentials.h
index 04c852bea1..21a4b8923e 100644
--- a/src/node/ext/call_credentials.h
+++ b/src/node/ext/call_credentials.h
@@ -34,7 +34,7 @@
#ifndef GRPC_NODE_CALL_CREDENTIALS_H_
#define GRPC_NODE_CALL_CREDENTIALS_H_
-#include <list>
+#include <queue>
#include <node.h>
#include <nan.h>
@@ -84,7 +84,7 @@ typedef struct plugin_callback_data {
typedef struct plugin_state {
Nan::Callback *callback;
- std::list<plugin_callback_data*> *pending_callbacks;
+ std::queue<plugin_callback_data*> *pending_callbacks;
uv_mutex_t plugin_mutex;
// async.data == this
uv_async_t plugin_async;