소스 검색

core: try to fix a general compilation issue caused by inconsistent

namespaces between platforms.
legacy
Sam Hocevar sam 12 년 전
부모
커밋
6648692bd7
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      src/core/string.cpp

+ 3
- 1
src/core/string.cpp 파일 보기

@@ -28,6 +28,8 @@ namespace lol

String String::Printf(char const *format, ...)
{
using std::vsnprintf;

String ret;
va_list ap;

@@ -42,7 +44,7 @@ String String::Printf(char const *format, ...)

/* We don’t use va_copy because Visual Studio 2010 does not support it. */
va_start(ap, format);
std::vsnprintf(&ret[0], needed, format, ap);
vsnprintf(&ret[0], needed, format, ap);
va_end(ap);

return ret;


불러오는 중...
취소
저장