summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/examples/benchmark_rx_rate.cpp4
-rw-r--r--host/include/uhd/transport/alignment_buffer.ipp2
-rw-r--r--host/include/uhd/transport/bounded_buffer.ipp2
3 files changed, 5 insertions, 3 deletions
diff --git a/host/examples/benchmark_rx_rate.cpp b/host/examples/benchmark_rx_rate.cpp
index 6984d7eff..a913261eb 100644
--- a/host/examples/benchmark_rx_rate.cpp
+++ b/host/examples/benchmark_rx_rate.cpp
@@ -82,7 +82,9 @@ static inline void test_device(
&buff.front(), buff.size(), md,
uhd::io_type_t::COMPLEX_FLOAT32,
uhd::device::RECV_MODE_ONE_PACKET
- ));
+ )){
+ /* NOP */
+ };
//print a summary
std::cout << std::endl; //go to newline, recv may spew SXSYSZ...
diff --git a/host/include/uhd/transport/alignment_buffer.ipp b/host/include/uhd/transport/alignment_buffer.ipp
index f89f2886e..ed7cfd26c 100644
--- a/host/include/uhd/transport/alignment_buffer.ipp
+++ b/host/include/uhd/transport/alignment_buffer.ipp
@@ -130,7 +130,7 @@ namespace uhd{ namespace transport{
template <typename elem_type, typename seq_type>
typename alignment_buffer<elem_type, seq_type>::sptr
alignment_buffer<elem_type, seq_type>::make(size_t capacity, size_t width){
- return alignment_buffer<elem_type, seq_type>::sptr(
+ return typename alignment_buffer<elem_type, seq_type>::sptr(
new alignment_buffer_impl<elem_type, seq_type>(capacity, width)
);
}
diff --git a/host/include/uhd/transport/bounded_buffer.ipp b/host/include/uhd/transport/bounded_buffer.ipp
index 6885b357d..e106e229e 100644
--- a/host/include/uhd/transport/bounded_buffer.ipp
+++ b/host/include/uhd/transport/bounded_buffer.ipp
@@ -104,7 +104,7 @@ namespace uhd{ namespace transport{
template <typename elem_type> typename bounded_buffer<elem_type>::sptr
bounded_buffer<elem_type>::make(size_t capacity){
- return bounded_buffer<elem_type>::sptr(new bounded_buffer_impl<elem_type>(capacity));
+ return typename bounded_buffer<elem_type>::sptr(new bounded_buffer_impl<elem_type>(capacity));
}
}} //namespace