Clarify SharedPV::post()

For SharedPV::post(), mention Value::cloneEmpty()
This commit is contained in:
mdavidsaver
2026-02-27 08:14:29 +00:00
parent c3f63fcbe8
commit 55a8faf007
+2 -2
View File
@@ -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);