Changeset 2102 for trunk


Ignore:
Timestamp:
Nov 21, 2012, 2:38:26 AM (7 years ago)
Author:
sam
Message:

core: try to fix a general compilation issue caused by inconsistent
namespaces between platforms.

File:
1 edited

Legend:

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

    r2101 r2102  
    2929String String::Printf(char const *format, ...)
    3030{
     31    using std::vsnprintf;
     32
    3133    String ret;
    3234    va_list ap;
     
    4345    /* We don’t use va_copy because Visual Studio 2010 does not support it. */
    4446    va_start(ap, format);
    45     std::vsnprintf(&ret[0], needed, format, ap);
     47    vsnprintf(&ret[0], needed, format, ap);
    4648    va_end(ap);
    4749
Note: See TracChangeset for help on using the changeset viewer.