From 0795e27cb9e335db2bfbb4dbf42476af0d023a33 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 15 Dec 2015 11:53:35 +0000 Subject: [PATCH] .removed dumps git-svn-id: svn://ultimatepp.org/upp/trunk@9292 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/WString.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/uppsrc/Core/WString.cpp b/uppsrc/Core/WString.cpp index ec122d995..4c1f4ff15 100644 --- a/uppsrc/Core/WString.cpp +++ b/uppsrc/Core/WString.cpp @@ -10,11 +10,9 @@ wchar *WString0::Alloc(int& count) return p; } size_t sz = sizeof(Atomic) + ((size_t)count + 1) * sizeof(wchar); - RDUMP(sz); Atomic *rc = (Atomic *)MemoryAllocSz(sz); if(count != INT_MAX) count = int(((sz - sizeof(Atomic)) >> 1) - 1); - RDUMP(count); *rc = 1; return (wchar *)(rc + 1); } @@ -57,9 +55,6 @@ wchar *WString0::Insert(int pos, int count, const wchar *s) Dsyn(); return ptr + pos; } - RDUMP(length); - RDUMP(length >= int((int64)2 * INT_MAX / 3)); - RDUMP(length + (length >> 1)); int all = max(length >= int((int64)2 * INT_MAX / 3) ? INT_MAX : length + (length >> 1), newlen); wchar *p = Alloc(all); if(pos > 0)