diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-29 11:26:33 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-29 11:26:33 -0700 |
commit | 54b8be72fd07bb51568ad5c4bad678b081a8dbe5 (patch) | |
tree | 7a4795ebc40ff97c740fcfc828e40d3378ad9650 /host/tests | |
parent | bcd2c4e2839aefdb8c8031f51c08bbc8e2be447e (diff) | |
download | uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.tar.gz uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.tar.bz2 uhd-54b8be72fd07bb51568ad5c4bad678b081a8dbe5.zip |
uhd: properties tweaks and docs
Diffstat (limited to 'host/tests')
-rw-r--r-- | host/tests/property_test.cpp | 2 |
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); |