aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index ac0c3c88a..2b4e8fe39 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -90,9 +90,9 @@ device::sptr usrp2::make(const device_addr_t &device_addr){
);
//create the usrp2 implementation guts
- return device::sptr(dynamic_cast<device*>(
+ return device::sptr(
new usrp2_impl(ctrl_transport, data_transport)
- ));
+ );
}
/***********************************************************************