diff options
Diffstat (limited to 'cpp/src/qpid/sys/rdma')
| -rw-r--r-- | cpp/src/qpid/sys/rdma/rdma_wrap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/rdma/rdma_wrap.h b/cpp/src/qpid/sys/rdma/rdma_wrap.h index 51cf6864be..1d72abcd03 100644 --- a/cpp/src/qpid/sys/rdma/rdma_wrap.h +++ b/cpp/src/qpid/sys/rdma/rdma_wrap.h @@ -225,6 +225,10 @@ namespace Rdma { context = c; } + void removeContext() { + context = 0; + } + template <typename T> T* getContext() { return static_cast<T*>(context); |
