This commit is contained in:
2026-05-06 21:01:18 +03:00
parent 4b99344790
commit 40b02bc3e0
29 changed files with 271 additions and 3 deletions
@@ -0,0 +1,11 @@
--- document.h 2025-03-30 14:49:42.000000000 +0300
+++ document.h.new 2026-05-06 15:15:34.964280900 +0300
@@ -316,7 +316,7 @@
GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
+ GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; const_cast<SizeType&>(length) = rhs.length; }
//! implicit conversion to plain CharType pointer
operator const Ch *() const { return s; }