From 54b8be72fd07bb51568ad5c4bad678b081a8dbe5 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 29 Jun 2011 11:26:33 -0700 Subject: uhd: properties tweaks and docs --- host/tests/property_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/tests') 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); -- cgit v1.2.3