replace use of depercated methods

This commit is contained in:
Michael Davidsaver
2015-06-22 14:36:27 -04:00
parent 7fc9b42b3a
commit 6a80e941a0
11 changed files with 65 additions and 65 deletions

View File

@@ -385,9 +385,9 @@ void testStructure() {
testDiag("\tSimple structure serialization");
PVStructurePtr pvStructure = factory->createPVStructure(getStandardField()->timeStamp());
pvStructure->getLongField("secondsPastEpoch")->put(123);
pvStructure->getIntField("nanoseconds")->put(456);
pvStructure->getIntField("userTag")->put(789);
pvStructure->getSubField<PVLong>("secondsPastEpoch")->put(123);
pvStructure->getSubField<PVInt>("nanoseconds")->put(456);
pvStructure->getSubField<PVInt>("userTag")->put(789);
serializationTest(pvStructure);