commit | 7f439f4276665848990e26f5967b99c8d5337acc | [log] [tgz] |
---|---|---|
author | Christopher Dunn <cdunn2001@gmail.com> | Fri Mar 06 09:22:57 2015 -0600 |
committer | Christopher Dunn <cdunn2001@gmail.com> | Fri Mar 06 09:22:57 2015 -0600 |
tree | 50d5cd20c3d8eb88ab11a59aaaaf508fef2259ba | |
parent | 3976f17ffd7ee47b4ea0341e362a1e6eca1878ac [diff] [blame] |
clarify operator=
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 @@ 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);