diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-27 14:27:55 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-27 14:27:55 -0700 |
commit | b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6 (patch) | |
tree | f0b8e41990c2600cac35467b3dcfbfed097d86cc /host/lib/device.cpp | |
parent | 52df9afd679fd0f42edeef29f0bbc0d7bd76559e (diff) | |
download | uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.tar.gz uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.tar.bz2 uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.zip |
refactored types.hpp into types directory
Diffstat (limited to 'host/lib/device.cpp')
-rw-r--r-- | host/lib/device.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/device.cpp b/host/lib/device.cpp index 0bdbf5f23..833e7a0da 100644 --- a/host/lib/device.cpp +++ b/host/lib/device.cpp @@ -16,7 +16,7 @@ // #include <uhd/device.hpp> -#include <uhd/dict.hpp> +#include <uhd/types/dict.hpp> #include <uhd/utils/assert.hpp> #include <uhd/utils/static.hpp> #include <boost/foreach.hpp> @@ -110,14 +110,14 @@ device::sptr device::make(const device_addr_t &hint, size_t which){ //check that we found any devices if (dev_addr_makers.size() == 0){ throw std::runtime_error(str( - boost::format("No devices found for ----->\n%s") % device_addr::to_string(hint) + boost::format("No devices found for ----->\n%s") % hint.to_string() )); } //check that the which index is valid if (dev_addr_makers.size() <= which){ throw std::runtime_error(str( - boost::format("No device at index %d for ----->\n%s") % which % device_addr::to_string(hint) + boost::format("No device at index %d for ----->\n%s") % which % hint.to_string() )); } |