Added missing standard header includes.

This commit is contained in:
Kevin M. Godby 2016-02-24 22:20:07 -06:00
parent 196689f720
commit 077c3095eb
22 changed files with 60 additions and 15 deletions

View File

@ -20,6 +20,8 @@
#include <chrono>
#include <functional>
#include <string>
#include <memory>
namespace spdlog
{

View File

@ -9,6 +9,7 @@
#include <initializer_list>
#include <chrono>
#include <memory>
#include <exception>
//visual studio does not support noexcept yet
#ifndef _MSC_VER
@ -94,4 +95,4 @@ private:
};
} //spdlog
} //spdlog

View File

@ -23,8 +23,12 @@
#include <spdlog/formatter.h>
#include <chrono>
#include <thread>
#include <exception>
#include <functional>
#include <memory>
#include <string>
#include <thread>
#include <utility>
#include <vector>
namespace spdlog

View File

@ -11,6 +11,10 @@
#include <spdlog/details/async_log_helper.h>
#include <spdlog/async_logger.h>
#include <string>
#include <functional>
#include <chrono>
#include <memory>
template<class It>
inline spdlog::async_logger::async_logger(const std::string& logger_name,

View File

@ -13,9 +13,10 @@
#include <spdlog/details/os.h>
#include <spdlog/details/log_msg.h>
#include <chrono>
#include <cstdio>
#include <string>
#include <thread>
#include <chrono>
namespace spdlog
{

View File

@ -9,6 +9,9 @@
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <string>
#include <utility>
// Line logger class - aggregates operator<< calls to fast ostream
// and logs upon destruction

View File

@ -8,7 +8,8 @@
#include <spdlog/common.h>
#include <spdlog/details/format.h>
#include <thread>
#include <string>
#include <utility>
namespace spdlog
{

View File

@ -7,6 +7,10 @@
#include <spdlog/logger.h>
#include <atomic>
#include <memory>
#include <string>
// create logger with given name, sinks and the default pattern formatter
// all other ctors will call this one
template<class It>

View File

@ -46,6 +46,7 @@ Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include <spdlog/common.h>
#include <atomic>
#include <utility>
namespace spdlog
{

View File

@ -6,9 +6,10 @@
#include <spdlog/common.h>
#include <string>
#include <cstdio>
#include <ctime>
#include <functional>
#include <string>
#ifdef _WIN32
# ifndef WIN32_LEAN_AND_MEAN
@ -24,6 +25,7 @@
#include <sys/syscall.h> //Use gettid() syscall under linux to get thread id
#include <sys/stat.h>
#include <unistd.h>
#include <chrono>
#else
#include <thread>
#endif

View File

@ -9,12 +9,14 @@
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <string>
#include <chrono>
#include <ctime>
#include <memory>
#include <vector>
#include <thread>
#include <mutex>
#include <string>
#include <thread>
#include <utility>
#include <vector>
namespace spdlog
{

View File

@ -15,10 +15,12 @@
#include <spdlog/async_logger.h>
#include <spdlog/common.h>
#include <string>
#include <mutex>
#include <unordered_map>
#include <chrono>
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <unordered_map>
namespace spdlog
{

View File

@ -14,6 +14,11 @@
#include <spdlog/sinks/stdout_sinks.h>
#include <spdlog/sinks/syslog_sink.h>
#include <chrono>
#include <functional>
#include <memory>
#include <string>
inline void spdlog::register_logger(std::shared_ptr<logger> logger)
{
return details::registry::instance().register_logger(logger);

View File

@ -8,6 +8,8 @@
#include <spdlog/details/log_msg.h>
#include <vector>
#include <string>
#include <memory>
namespace spdlog
{

View File

@ -18,6 +18,8 @@
#include <vector>
#include <memory>
#include <atomic>
#include <string>
namespace spdlog
{

View File

@ -13,6 +13,7 @@
#include <android/log.h>
#include <mutex>
#include <string>
namespace spdlog
{

View File

@ -15,9 +15,7 @@
#include <spdlog/common.h>
#include <spdlog/details/log_msg.h>
#include <string>
#include <mutex>
#include <atomic>
namespace spdlog
{

View File

@ -13,7 +13,7 @@
#include <algorithm>
#include <memory>
#include <mutex>
#include <list>
#include <vector>
namespace spdlog
{

View File

@ -10,7 +10,12 @@
#include <spdlog/details/file_helper.h>
#include <spdlog/details/format.h>
#include <algorithm>
#include <chrono>
#include <cstdio>
#include <ctime>
#include <mutex>
#include <string>
namespace spdlog
{

View File

@ -10,7 +10,6 @@
#include <ostream>
#include <mutex>
#include <memory>
namespace spdlog
{

View File

@ -9,6 +9,7 @@
#include <spdlog/details/null_mutex.h>
#include <iostream>
#include <memory>
#include <mutex>
namespace spdlog

View File

@ -12,6 +12,11 @@
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <memory>
#include <functional>
#include <chrono>
#include <string>
namespace spdlog
{
// Return an existing logger or nullptr if a logger with such name doesn't exist.