Core/Tools: fix warning

This commit is contained in:
ariel- committed 2018-03-28 05:23:53 -03:00
1 parent 53c397c926
commit 4aecd176e7
2 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
#include "Logger.h"
#include "LogMessage.h"
LogOperation::LogOperation(Logger const* logger, std::unique_ptr<LogMessage>&& msg) : _logger(logger), _msg(std::forward<std::unique_ptr<LogMessage>>(_msg))
LogOperation::LogOperation(Logger const* logger, std::unique_ptr<LogMessage>&& msg) : _logger(logger), _msg(std::forward<std::unique_ptr<LogMessage>>(msg))
{
}
+5 -2
View File
@@ -26,8 +26,11 @@
#include <sys/stat.h>
#ifdef _WIN32
#include <direct.h>
#define mkdir _mkdir
#include <direct.h>
#define mkdir _mkdir
#else
#include <unistd.h>
#define ERROR_PATH_NOT_FOUND ERROR_FILE_NOT_FOUND
#endif
#undef min