Changeset 44633


Ignore:
Timestamp:
Apr 20, 2008, 2:01:18 PM (10 years ago)
Author:
Hartmut Kaiser
Message:

Spirit: Added a missing header #include.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp

    r44358 r44633  
    88
    99#include <map>
     10#include <cstring>    // memcpy
    1011#include "num_token.hpp"
    1112#include "../../runtime_error.hpp"
     
    422423
    423424        token_.set (num_token::MACRO, null_token);
    424         ::memcpy (token_._macro, start_, len_ * sizeof(CharT));
     425        using namespace std;    // some systems have memcpy in namespace std
     426        memcpy (token_._macro, start_, len_ * sizeof(CharT));
    425427        token_._macro[len_] = 0;
    426428    }
Note: See TracChangeset for help on using the changeset viewer.