Ignore:
Timestamp:
Jan 5, 2014, 7:04:30 AM (5 years ago)
Author:
cameron
Message:

Namespace bug fix for icXML-0.95

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icXML/icXML-0.95/src/icxmlc/stringpool.h

    r3563 r3602  
    131131insert(const Char * string, const size_t length)
    132132{
    133     Char * retVal = allocate(length + NullTerminated);
     133    Char * retVal = allocate(NullTerminated ? (length + 1) : length);
    134134    Array<Char>::move(string, retVal, length);
    135135    if (NullTerminated)
     
    168168    const size_t additionalCapacity = max(minimumSize * 2, fMinAdditionalCapacity);
    169169
    170 
    171     DEBUG_MESSAGE("additionalCapacity=" << additionalCapacity)
    172 
    173170    MemoryNode * node = (MemoryNode *)
    174171    #ifdef USE_MEMORY_MANAGER_ALLOCATION
Note: See TracChangeset for help on using the changeset viewer.