This commit is contained in:
Michael Davidsaver
2020-02-07 09:14:55 -08:00
parent ab58b58d2d
commit 9cf21933ea
+5
View File
@@ -78,6 +78,11 @@ SharedPV SharedPV::buildReadonly()
{
SharedPV ret;
ret.impl = std::make_shared<Impl>();
ret.onPut([](SharedPV& pv, std::unique_ptr<ExecOp>&& op, Value&& val) {
op->error("Read-only PV");
});
return ret;
}