summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/device.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/include/uhd/device.hpp b/host/include/uhd/device.hpp
index 40969c29c..a6571d027 100644
--- a/host/include/uhd/device.hpp
+++ b/host/include/uhd/device.hpp
@@ -19,7 +19,6 @@
#define INCLUDED_UHD_DEVICE_HPP
#include <uhd/config.hpp>
-#include <uhd/property_tree.hpp>
#include <uhd/types/device_addr.hpp>
#include <uhd/types/metadata.hpp>
#include <uhd/types/io_type.hpp>
@@ -31,6 +30,8 @@
namespace uhd{
+class property_tree; //forward declaration
+
/*!
* The usrp device interface represents the usrp hardware.
* The api allows for discovery, configuration, and streaming.
@@ -199,7 +200,7 @@ public:
) = 0;
//! Get access to the underlying property structure
- virtual property_tree::sptr get_tree(void) const = 0;
+ virtual boost::shared_ptr<property_tree> get_tree(void) const = 0;
};