pvxput: do not mark all fields...

This commit is contained in:
Michael Davidsaver
2026-01-05 10:35:33 -08:00
parent 8c07933fe0
commit 42ec1602a3
+2
View File
@@ -116,6 +116,8 @@ int main(int argc, char *argv[])
.pvRequest(request)
.build([&values](Value&& prototype) -> Value {
auto val = std::move(prototype);
// clear all defined fields, but retain "current" values for NTEnum lookup.
val.unmark(false, true);
for(auto& pair : values) {
try{
val[pair.first] = pair.second;