summaryrefslogtreecommitdiffstats
path: root/host/lib/utils.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-04 09:46:08 +0000
committerJosh Blum <josh@joshknows.com>2010-05-04 09:46:08 +0000
commit11a7ca4e6bd92f9809a5cf050a1ea269b207e1d5 (patch)
treedb57aee558b6f84daefa21e8819048c8a5360f21 /host/lib/utils.cpp
parent77b9aaf5bdb9c50a2456f1aa5e3498ec228ab679 (diff)
parentf27400cd391d2d276df964d8c26ee08aa8ca3662 (diff)
downloaduhd-11a7ca4e6bd92f9809a5cf050a1ea269b207e1d5.tar.gz
uhd-11a7ca4e6bd92f9809a5cf050a1ea269b207e1d5.tar.bz2
uhd-11a7ca4e6bd92f9809a5cf050a1ea269b207e1d5.zip
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib/utils.cpp')
-rw-r--r--host/lib/utils.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/lib/utils.cpp b/host/lib/utils.cpp
index 3a1e5aa3f..d2f4dfc6e 100644
--- a/host/lib/utils.cpp
+++ b/host/lib/utils.cpp
@@ -15,11 +15,20 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
+#include <uhd/utils/assert.hpp>
#include <uhd/utils/props.hpp>
+#include <stdexcept>
using namespace uhd;
/***********************************************************************
+ * Assert
+ **********************************************************************/
+assert_error::assert_error(const std::string &what) : std::runtime_error(what){
+ /* NOP */
+}
+
+/***********************************************************************
* Props
**********************************************************************/
named_prop_t::named_prop_t(