We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be01d3d commit 0277ebdCopy full SHA for 0277ebd
include/rapidjson/document.h
@@ -202,7 +202,7 @@ class GenericValue {
202
*/
203
template <typename SourceAllocator>
204
GenericValue& CopyFrom(const GenericValue<Encoding,SourceAllocator>& rhs, Allocator& allocator) {
205
- RAPIDJSON_ASSERT((void*)this != (void*)&rhs);
+ RAPIDJSON_ASSERT((void*)this != (void const*)&rhs);
206
this->~GenericValue();
207
new (this) GenericValue(rhs,allocator);
208
return *this;
0 commit comments