summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0cea20c8c..b579e5213 100644
--- a/host/tests/property_test.cpp
+++ b/host/tests/property_test.cpp
@@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE(test_prop_tree){
uhd::property_tree::sptr tree = uhd::property_tree::make();
tree->create("/test/prop0", uhd::property<int>());
- tree->create("/test/prop1", uhd::property<int>());
+ tree->create<int>("/test/prop1");
BOOST_CHECK(tree->exists("/test"));
BOOST_CHECK(tree->exists("/test/prop0"));