summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-09 19:23:36 -0800
committerJosh Blum <josh@joshknows.com>2011-02-09 19:23:36 -0800
commita72e29ca1de5b484bedcb1cfa8be6cd2216dc54e (patch)
treee5fb8caf9ad71372bef098db189be445ef5d835a /host/include
parentfb7e8a09a58f4c08f70ba0e088710a0e011ea01d (diff)
downloaduhd-a72e29ca1de5b484bedcb1cfa8be6cd2216dc54e.tar.gz
uhd-a72e29ca1de5b484bedcb1cfa8be6cd2216dc54e.tar.bz2
uhd-a72e29ca1de5b484bedcb1cfa8be6cd2216dc54e.zip
uhd: tweaks for windows warnings and errors
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/bounded_buffer.ipp7
1 files changed, 3 insertions, 4 deletions
diff --git a/host/include/uhd/transport/bounded_buffer.ipp b/host/include/uhd/transport/bounded_buffer.ipp
index 466c7a306..7be2f987c 100644
--- a/host/include/uhd/transport/bounded_buffer.ipp
+++ b/host/include/uhd/transport/bounded_buffer.ipp
@@ -31,11 +31,10 @@ namespace uhd{ namespace transport{ namespace{ /*anon*/
public:
bounded_buffer_detail(size_t capacity):
- _buffer(capacity),
- _not_full_fcn(boost::bind(&bounded_buffer_detail<elem_type>::not_full, this)),
- _not_empty_fcn(boost::bind(&bounded_buffer_detail<elem_type>::not_empty, this))
+ _buffer(capacity)
{
- /* NOP */
+ _not_full_fcn = boost::bind(&bounded_buffer_detail<elem_type>::not_full, this);
+ _not_empty_fcn = boost::bind(&bounded_buffer_detail<elem_type>::not_empty, this);
}
UHD_INLINE bool push_with_pop_on_full(const elem_type &elem){