aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/property_tree.ipp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/property_tree.ipp b/host/include/uhd/property_tree.ipp
index 54c81870c..6ed1056e6 100644
--- a/host/include/uhd/property_tree.ipp
+++ b/host/include/uhd/property_tree.ipp
@@ -97,7 +97,9 @@ public:
}
const T get(void) const{
- if (empty()) throw uhd::runtime_error("Cannot get() on an uninitialized (empty) property");
+ if (empty()) {
+ throw uhd::runtime_error("Cannot get() on an uninitialized (empty) property");
+ }
if (not _publisher.empty()) {
return _publisher();
} else {