pvif simplify

This commit is contained in:
Michael Davidsaver
2017-09-13 19:31:08 -05:00
parent 1676bc6601
commit b5d0678c75
3 changed files with 4 additions and 14 deletions

View File

@@ -230,9 +230,7 @@ void testPlain()
p2p::auto_ptr<PVIFBuilder> builder;
{
PVIFBuilder::options_t opts;
opts["@type"] = "plain";
builder.reset(PVIFBuilder::create(opts));
builder.reset(PVIFBuilder::create("plain"));
}
pvd::FieldConstPtr dtype_li(builder->dtype(chan_li));