Changeset 2245


Ignore:
Timestamp:
Jan 21, 2013, 8:24:19 PM (7 years ago)
Author:
sam
Message:

core: add missing <cstring> include in our string.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/string.h

    r2240 r2245  
    2020#include <lol/base/array.h>
    2121
     22#include <cstring>
     23
    2224namespace lol
    2325{
     
    3840      : Super()
    3941    {
     42        using std::memcpy;
    4043        Resize((int)strlen(str));
    4144        memcpy(&(*this)[0], str, Count() + 1);
     
    4548      : Super()
    4649    {
     50        using std::memcpy;
    4751        Resize(count + 1);
    4852        memcpy(&(*this)[0], str, Count());
Note: See TracChangeset for help on using the changeset viewer.