From f27400cd391d2d276df964d8c26ee08aa8ca3662 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 5 May 2010 17:03:59 -0700 Subject: Removed the boost exception stuff, replaced it with macro that formats the throw site information. SWIG didnt handle the boost exception stuff, even with custom exception wrappers. Now the boost requirement can be lowered back to 3.6. --- host/lib/utils.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'host/lib/utils.cpp') 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,10 +15,19 @@ // along with this program. If not, see . // +#include #include +#include using namespace uhd; +/*********************************************************************** + * Assert + **********************************************************************/ +assert_error::assert_error(const std::string &what) : std::runtime_error(what){ + /* NOP */ +} + /*********************************************************************** * Props **********************************************************************/ -- cgit v1.2.3