From 7f439f4276665848990e26f5967b99c8d5337acc Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Fri, 6 Mar 2015 09:22:57 -0600 Subject: [PATCH] clarify operator= --- include/json/value.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/json/value.h b/include/json/value.h index cf9703b..a5bada9 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -255,7 +255,8 @@ Json::Value obj_value(Json::objectValue); // {} Value(const Value& other); ~Value(); - // Deep copy, then swap(other). + /// Deep copy, then swap(other). + /// \note Over-write existing comments. To preserve comments, use #swapPayload(). Value& operator=(Value other); /// Swap everything. void swap(Value& other);