Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/base/string.cpp

    r2256 r2506  
    6060    /* vsnprintf() tells us how many character we need, and we need to
    6161     * add one for the terminating null byte. */
    62     size_t needed = vsnprintf(NULL, 0, format, ap2) + 1;
     62    size_t needed = vsnprintf(nullptr, 0, format, ap2) + 1;
    6363
    6464    ((Super &)ret).Reserve(needed);
Note: See TracChangeset for help on using the changeset viewer.