Просмотр исходного кода

Update ff7FieldTextWriter.cpp

fix compile error - forgot what header make_unique is in for older compiler
Paul 11 лет назад
Родитель
Сommit
34389cc725
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      utilities/q-gears-launcher/src/ff7FieldTextWriter.cpp

+ 1 - 1
utilities/q-gears-launcher/src/ff7FieldTextWriter.cpp

@@ -158,7 +158,7 @@ static const unsigned short japanese_chars_fe[256] = {
 void FF7FieldTextWriter::Begin(std::string fileName)
 {
     mData.clear();
-    mLogger = std::make_unique<Logger>(fileName);
+    mLogger.reset(new Logger(fileName));
 
     // Write BOM
     /* FIX ME - need to write data as UTF8