From 55a8faf007fdcdf68641c54f88ab2c367240f79b Mon Sep 17 00:00:00 2001 From: mdavidsaver Date: Fri, 27 Feb 2026 08:13:59 +0000 Subject: [PATCH] Clarify SharedPV::post() For SharedPV::post(), mention Value::cloneEmpty() --- src/pvxs/sharedpv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pvxs/sharedpv.h b/src/pvxs/sharedpv.h index 416efd3..21e4201 100644 --- a/src/pvxs/sharedpv.h +++ b/src/pvxs/sharedpv.h @@ -74,8 +74,8 @@ struct PVXS_API SharedPV /** Update the internal data value, and dispatch subscription updates to any clients. * * The value given as the argument must be created from the same `TypeDef` - * instance as the value given to `SharedPV::open()`. It is recommended that - * the same value (or its clone) is reused. + * instance as the value given to open(). It is recommended that + * the same type is reused using by calling Value::cloneEmpty(). */ void post(const Value& val);