Ticket #1871: regex.inc.patch

File regex.inc.patch, 1.1 KB (added by François Barel, 14 years ago)

Fix missing includes in c44842

  • libs/regex/src/usinstances.cpp

     
    3030// duplicate symbol errors when linking if the application is built without
    3131// /Zc:wchar_t
    3232//
     33#include <memory>
     34#include <string>
    3335namespace std{
    3436template _CRTIMP2 bool __cdecl operator==(
    3537   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
  • libs/regex/src/wc_regex_traits.cpp

     
    2828// duplicate symbol errors when linking if the application is built without
    2929// /Zc:wchar_t
    3030//
     31#include <memory>
     32#include <string>
    3133namespace std{
    3234template _CRTIMP2 bool __cdecl operator==(
    3335   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,