diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-07-14 15:52:46 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-07-29 17:58:46 -0700 |
commit | addbff1826ed3bcd87d676b8d41bef56ba63dbde (patch) | |
tree | ef132d789af4431cc35d7bd70ff638446e19cb6f /host | |
parent | 368c9ca04d5723d5e6adfcb1a795ebe688064dd4 (diff) | |
download | uhd-addbff1826ed3bcd87d676b8d41bef56ba63dbde.tar.gz uhd-addbff1826ed3bcd87d676b8d41bef56ba63dbde.tar.bz2 uhd-addbff1826ed3bcd87d676b8d41bef56ba63dbde.zip |
uhd: minor prop tree formatting
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/property_tree.ipp | 4 |
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 { |