Replace display.format with .form and .precision

Remove instance accessors w/o replacement
as a prelude to deprecation.
This commit is contained in:
Michael Davidsaver
2019-01-15 20:37:28 -08:00
parent 2814c779bd
commit 4ffddfa2f6
6 changed files with 6 additions and 37 deletions

View File

@@ -224,10 +224,6 @@ static void testPVScalarWithProperties(
string("display.description"));
testOk1(desc.get()!=0);
desc->put(string("this is a description"));
PVStringPtr format = pvStructure->getSubField<PVString>(
string("display.format"));
testOk1(format.get()!=0);
format->put(string("f10.2"));
PVStringPtr units = pvStructure->getSubField<PVString>(
string("display.units"));
testOk1(units.get()!=0);
@@ -740,7 +736,7 @@ static void testSubField()
MAIN(testPVData)
{
testPlan(271);
testPlan(261);
try{
fieldCreate = getFieldCreate();
pvDataCreate = getPVDataCreate();