aboutsummaryrefslogtreecommitdiffstats
path: root/host/test
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-26 15:20:18 -0700
committerJosh Blum <josh@joshknows.com>2010-04-26 15:20:18 -0700
commit6f1bdcb58608e3a7c2625841e3a8f1c6297bb544 (patch)
tree41434e1b13c97538214b7d7c03f660ad921ca965 /host/test
parentb1992806e130216fdab963c2154f489189b8c3b5 (diff)
downloaduhd-6f1bdcb58608e3a7c2625841e3a8f1c6297bb544.tar.gz
uhd-6f1bdcb58608e3a7c2625841e3a8f1c6297bb544.tar.bz2
uhd-6f1bdcb58608e3a7c2625841e3a8f1c6297bb544.zip
Renamed the prop set/get error macros so they make sense for not-implemented properties.
Diffstat (limited to 'host/test')
-rw-r--r--host/test/gain_handler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/test/gain_handler_test.cpp b/host/test/gain_handler_test.cpp
index 0669b491a..5a9f2b714 100644
--- a/host/test/gain_handler_test.cpp
+++ b/host/test/gain_handler_test.cpp
@@ -73,7 +73,7 @@ private:
val = _gain_values.keys();
return;
- default: UHD_THROW_PROP_WRITE_ONLY();
+ default: UHD_THROW_PROP_GET_ERROR();
}
}
@@ -89,7 +89,7 @@ private:
_gain_values[name] = val.as<float>();
return;
- default: UHD_THROW_PROP_READ_ONLY();
+ default: UHD_THROW_PROP_SET_ERROR();
}
}