diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-07-20 20:43:13 -0700 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-07-23 13:47:43 -0700 |
commit | b211bbf3c7594e14aefa2899dc49e2f180fc20ef (patch) | |
tree | cde5d4f3aa8debc7db80bf80b9702889624444e8 /host/lib/usrp/usrp_c.cpp | |
parent | 8304509e755c4784587a5ae51f49310afbbae483 (diff) | |
download | uhd-b211bbf3c7594e14aefa2899dc49e2f180fc20ef.tar.gz uhd-b211bbf3c7594e14aefa2899dc49e2f180fc20ef.tar.bz2 uhd-b211bbf3c7594e14aefa2899dc49e2f180fc20ef.zip |
C API: Fix incorrectly declared lock
Diffstat (limited to 'host/lib/usrp/usrp_c.cpp')
-rw-r--r-- | host/lib/usrp/usrp_c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_c.cpp b/host/lib/usrp/usrp_c.cpp index a7dc224c9..1eb52d9af 100644 --- a/host/lib/usrp/usrp_c.cpp +++ b/host/lib/usrp/usrp_c.cpp @@ -85,7 +85,7 @@ UHD_SINGLETON_FCN(usrp_ptrs, get_usrp_ptrs); static boost::mutex _rx_streamer_make_mutex; uhd_error uhd_rx_streamer_make(uhd_rx_streamer_handle* h){ UHD_SAFE_C( - boost::mutex::scoped_lock(_rx_streamer_make_mutex); + boost::mutex::scoped_lock lock(_rx_streamer_make_mutex); (*h) = new uhd_rx_streamer; ) } |