diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-04-06 16:45:40 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-04-06 23:31:16 -0700 |
commit | e1c754f2069ce5ee4914ea312e62fc3f708ff824 (patch) | |
tree | de4b62f9b2d6041333a90e2a0161bd6012170789 /host/lib/transport | |
parent | 7d633cd2b5d3df68cc8eee57fd4ec6f7b31e21d7 (diff) | |
download | uhd-e1c754f2069ce5ee4914ea312e62fc3f708ff824.tar.gz uhd-e1c754f2069ce5ee4914ea312e62fc3f708ff824.tar.bz2 uhd-e1c754f2069ce5ee4914ea312e62fc3f708ff824.zip |
transport: Fix some nullptr vs NULL vs 0
This affects some versions of Clang when using C++11 features.
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/zero_copy_flow_ctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/zero_copy_flow_ctrl.cpp b/host/lib/transport/zero_copy_flow_ctrl.cpp index 736390f3c..ef8f5c9d1 100644 --- a/host/lib/transport/zero_copy_flow_ctrl.cpp +++ b/host/lib/transport/zero_copy_flow_ctrl.cpp @@ -37,7 +37,7 @@ public: zero_copy_flow_ctrl_msb(
flow_ctrl_func flow_ctrl
) :
- _mb(NULL),
+ _mb(nullptr),
_flow_ctrl(flow_ctrl)
{
/* NOP */
@@ -75,7 +75,7 @@ public: zero_copy_flow_ctrl_mrb(
flow_ctrl_func flow_ctrl
) :
- _mb(NULL),
+ _mb(nullptr),
_flow_ctrl(flow_ctrl)
{
/* NOP */
|