summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-06 17:59:11 -0700
committerJosh Blum <josh@joshknows.com>2010-07-06 17:59:11 -0700
commitcfdc9e7776acd1f2c8100ac3593482753c0dbca5 (patch)
tree510d0cd2c3d8aaac57b010e481573dee84abe920 /host/include
parent01067698803179cf8021d30c881eb16f17b184db (diff)
downloaduhd-cfdc9e7776acd1f2c8100ac3593482753c0dbca5.tar.gz
uhd-cfdc9e7776acd1f2c8100ac3593482753c0dbca5.tar.bz2
uhd-cfdc9e7776acd1f2c8100ac3593482753c0dbca5.zip
uhd: removed some errors and warnings under macosx gcc build
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/alignment_buffer.ipp2
-rw-r--r--host/include/uhd/transport/bounded_buffer.ipp2
2 files changed, 2 insertions, 2 deletions
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