use newer API

This commit is contained in:
Michael Davidsaver
2017-06-29 11:36:35 +02:00
parent ba485df469
commit 51f5480996
6 changed files with 65 additions and 100 deletions

View File

@@ -72,7 +72,7 @@ void testmonitor()
testDiag("Start monitor and check initial update");
testOk1(mon->start().isSuccess());
pvd::MonitorElementPtr elem(mon->poll());
pva::MonitorElementPtr elem(mon->poll());
testOk1(!!elem.get());
if(elem) testDiag("elem changed '%s' overflow '%s'", toString(*elem->changedBitSet).c_str(), toString(*elem->overrunBitSet).c_str());