Fix compile issue
This commit is contained in:
parent
bd0fd02860
commit
bb916d8159
@ -2364,7 +2364,7 @@ PUGI__NS_BEGIN
|
||||
if (header & header_mask) alloc->deallocate_string(dest);
|
||||
|
||||
// mark the string as not allocated
|
||||
dest = source_length == 0 ? nullptr : const_cast<String>(source);
|
||||
dest = source_length == 0 ? nullptr : const_cast<char_t*>(source);
|
||||
header &= ~header_mask;
|
||||
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user