Change enum to type in converters

This commit is contained in:
Michael Davidsaver
2013-07-29 15:09:47 -04:00
parent c643509c7e
commit f21811eb6a
3 changed files with 26 additions and 26 deletions

View File

@@ -173,14 +173,14 @@ void PrinterPlain::encodeScalar(const PVScalar& pv)
indentN(S(), ilvl);
S() << pv.getScalar()->getID() << " "
<< pv.getFieldName() << " "
<< pv.getAs<pvString>() << std::endl;
<< pv.getAs<String>() << std::endl;
}
void PrinterPlain::encodeArray(const PVScalarArray& pv)
{
indentN(S(), ilvl);
shared_vector<const String> temp;
pv.getAs<pvString>(temp);
pv.getAs<String>(temp);
S() << pv.getScalarArray()->getID() << " "
<< pv.getFieldName() << " [";