From addbff1826ed3bcd87d676b8d41bef56ba63dbde Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 14 Jul 2016 15:52:46 -0700 Subject: uhd: minor prop tree formatting --- host/include/uhd/property_tree.ipp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/include') 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 { -- cgit v1.2.3