summaryrefslogtreecommitdiffstats
path: root/host/tests/property_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-29 11:26:33 -0700
committerJosh Blum <josh@joshknows.com>2011-06-29 11:26:33 -0700
commit54b8be72fd07bb51568ad5c4bad678b081a8dbe5 (patch)
tree7a4795ebc40ff97c740fcfc828e40d3378ad9650 /host/tests/property_test.cpp
parentbcd2c4e2839aefdb8c8031f51c08bbc8e2be447e (diff)
downloaduhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.tar.gz
uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.tar.bz2
uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.zip
uhd: properties tweaks and docs
Diffstat (limited to 'host/tests/property_test.cpp')
-rw-r--r--host/tests/property_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/property_test.cpp b/host/tests/property_test.cpp
index cd9691dca..20f6b6924 100644
--- a/host/tests/property_test.cpp
+++ b/host/tests/property_test.cpp
@@ -113,7 +113,7 @@ BOOST_AUTO_TEST_CASE(test_prop_with_coercion){
prop.subscribe(boost::bind(&setter_type::doit, &setter, _1));
coercer_type coercer;
- prop.subscribe_master(boost::bind(&coercer_type::doit, &coercer, _1));
+ prop.coerce(boost::bind(&coercer_type::doit, &coercer, _1));
prop.set(42);
BOOST_CHECK_EQUAL(prop.get(), 40);