summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-11 00:16:34 -0700
committerJosh Blum <josh@joshknows.com>2010-08-11 00:16:34 -0700
commit9e87ebda07dda14e5b0ab4c64b6adc9800358baa (patch)
tree501776cbf91375d455da48a787f5ae9987fadebe /host/include
parent293ccdccd1e111942e9cc48ab87690da5202e406 (diff)
downloaduhd-9e87ebda07dda14e5b0ab4c64b6adc9800358baa.tar.gz
uhd-9e87ebda07dda14e5b0ab4c64b6adc9800358baa.tar.bz2
uhd-9e87ebda07dda14e5b0ab4c64b6adc9800358baa.zip
usrp-e: fixed warnings and errors, missing subdev spec stuff
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/pimpl.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/include/uhd/utils/pimpl.hpp b/host/include/uhd/utils/pimpl.hpp
index 18454f0c4..09bf0c0a2 100644
--- a/host/include/uhd/utils/pimpl.hpp
+++ b/host/include/uhd/utils/pimpl.hpp
@@ -20,7 +20,6 @@
#include <uhd/config.hpp>
#include <boost/shared_ptr.hpp>
-#include <boost/make_shared.hpp>
/*! \file pimpl.hpp
* "Pimpl idiom" (pointer to implementation idiom).
@@ -51,6 +50,6 @@
* \param _args the constructor args for the pimpl
*/
#define UHD_PIMPL_MAKE(_name, _args) \
- boost::make_shared<_name> _args
+ boost::shared_ptr<_name>(new _name _args)
#endif /* INCLUDED_UHD_UTILS_PIMPL_HPP */