1
1
Fork 0
forked from suyu/suyu

logging/backend: Add missing standard includes

A few inclusions were being satisfied indirectly. To prevent breakages
in the future, include these directly.
This commit is contained in:
Lioncash 2018-07-20 15:31:25 -04:00
parent 457d1b4490
commit 7a1a860abe
2 changed files with 3 additions and 4 deletions

View file

@ -3,19 +3,20 @@
// Refer to the license.txt file included.
#include <algorithm>
#include <array>
#include <atomic>
#include <chrono>
#include <climits>
#include <condition_variable>
#include <memory>
#include <mutex>
#include <thread>
#include <vector>
#ifdef _WIN32
#include <share.h> // For _SH_DENYWR
#else
#define _SH_DENYWR 0
#endif
#include "common/assert.h"
#include "common/common_funcs.h" // snprintf compatibility define
#include "common/logging/backend.h"
#include "common/logging/log.h"
#include "common/logging/text_formatter.h"

View file

@ -4,11 +4,9 @@
#pragma once
#include <chrono>
#include <cstdarg>
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include "common/file_util.h"
#include "common/logging/filter.h"
#include "common/logging/log.h"