use getSubField

This commit is contained in:
Michael Davidsaver
2015-06-22 15:04:44 -04:00
parent 63ebdce9dd
commit ef46931276
8 changed files with 82 additions and 82 deletions

View File

@@ -29,7 +29,7 @@ class SumServiceImpl :
// NTURI support
PVStructure::shared_pointer args(
(starts_with(pvArguments->getStructure()->getID(), "epics:nt/NTURI:1.")) ?
pvArguments->getStructureField("query") :
pvArguments->getSubField<PVStructure>("query") :
pvArguments
);