Fixed issue #449

This commit is contained in:
gabime 2017-05-21 20:39:54 +03:00
parent c6ad598af9
commit 13fb2550c6
8 changed files with 18 additions and 18 deletions

View File

@ -143,7 +143,7 @@ struct my_type
} }
}; };
#include <spdlog/fmt/ostr.h> // must be included #include "spdlog/fmt/ostr.h" // must be included
void user_defined_example() void user_defined_example()
{ {
spd::get("console")->info("user defined type: {}", my_type { 14 }); spd::get("console")->info("user defined type: {}", my_type { 14 });

View File

@ -7,7 +7,7 @@
#if defined(__ANDROID__) #if defined(__ANDROID__)
#include <spdlog/sinks/sink.h> #include "spdlog/sinks/sink.h"
#include <mutex> #include <mutex>
#include <string> #include <string>

View File

@ -5,9 +5,9 @@
#pragma once #pragma once
#include <spdlog/sinks/base_sink.h> #include "spdlog/sinks/base_sink.h"
#include <spdlog/common.h> #include "spdlog/common.h"
#include <spdlog/details/os.h> #include "spdlog/details/os.h"
#include <string> #include <string>
#include <map> #include <map>

View File

@ -5,10 +5,10 @@
#pragma once #pragma once
#include <spdlog/details/log_msg.h> #include "spdlog/details/log_msg.h"
#include <spdlog/details/null_mutex.h> #include "spdlog/details/null_mutex.h"
#include <spdlog/sinks/base_sink.h> #include "spdlog/sinks/base_sink.h"
#include <spdlog/sinks/sink.h> #include "spdlog/sinks/sink.h"
#include <algorithm> #include <algorithm>
#include <mutex> #include <mutex>

View File

@ -7,8 +7,8 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
#include <spdlog/sinks/base_sink.h> #include "spdlog/sinks/base_sink.h"
#include <spdlog/details/null_mutex.h> #include "spdlog/details/null_mutex.h"
#include <WinBase.h> #include <WinBase.h>

View File

@ -5,8 +5,8 @@
#pragma once #pragma once
#include <spdlog/sinks/base_sink.h> #include "spdlog/sinks/base_sink.h"
#include <spdlog/details/null_mutex.h> #include "spdlog/details/null_mutex.h"
#include <mutex> #include <mutex>

View File

@ -5,8 +5,8 @@
#pragma once #pragma once
#include <spdlog/details/null_mutex.h> #include "spdlog/details/null_mutex.h"
#include <spdlog/sinks/base_sink.h> #include "spdlog/sinks/base_sink.h"
#include <ostream> #include <ostream>
#include <mutex> #include <mutex>

View File

@ -5,12 +5,12 @@
#pragma once #pragma once
#include <spdlog/common.h> #include "spdlog/common.h"
#ifdef SPDLOG_ENABLE_SYSLOG #ifdef SPDLOG_ENABLE_SYSLOG
#include <spdlog/sinks/sink.h> #include "spdlog/sinks/sink.h"
#include <spdlog/details/log_msg.h> #include "spdlog/details/log_msg.h"
#include <array> #include <array>
#include <string> #include <string>