From fe633e4228a4e11d5e7ff336e575b27f1f1a7630 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 10 Mar 2020 17:06:52 -0700 Subject: [PATCH] pvRequest oops --- src/clientreq.cpp | 2 +- test/testpvreq.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/clientreq.cpp b/src/clientreq.cpp index a3f6b54..58be389 100644 --- a/src/clientreq.cpp +++ b/src/clientreq.cpp @@ -25,7 +25,7 @@ struct CommonBase::Req { Member record; Req() - :fields(TypeCode::Struct, "fields") + :fields(TypeCode::Struct, "field") ,record(TypeCode::Struct, "record", { Member(TypeCode::Struct, "_options") }) diff --git a/test/testpvreq.cpp b/test/testpvreq.cpp index 9a4b7da..f6290a7 100644 --- a/test/testpvreq.cpp +++ b/test/testpvreq.cpp @@ -67,7 +67,7 @@ struct { struct { } baz } bar - } fields + } field struct { struct { string abc = "xyz" @@ -96,7 +96,7 @@ struct { struct { } baz } bar - } fields + } field struct { struct { string abc = "xyz" @@ -125,7 +125,7 @@ struct { struct { } baz } bar - } fields + } field struct { struct { string abc = "xyz"