Commit 861dfc74 authored by generatedunixname89002005287564's avatar generatedunixname89002005287564 Committed by Facebook Github Bot

Remove dead includes in folly/logging

Reviewed By: yfeldblum

Differential Revision: D19768449

fbshipit-source-id: b5a259486403601cf60d4e7066640e1ed4601410
parent 64fc8458
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
#include <folly/logging/LoggerDB.h> #include <folly/logging/LoggerDB.h>
#include <folly/system/ThreadName.h> #include <folly/system/ThreadName.h>
using folly::File;
using folly::StringPiece;
namespace folly { namespace folly {
constexpr size_t AsyncLogWriter::kDefaultMaxBufferSize; constexpr size_t AsyncLogWriter::kDefaultMaxBufferSize;
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <folly/logging/LoggerDB.h> #include <folly/logging/LoggerDB.h>
#include <folly/portability/Unistd.h> #include <folly/portability/Unistd.h>
using folly::StringPiece;
namespace folly { namespace folly {
ImmediateFileWriter::ImmediateFileWriter(StringPiece path) ImmediateFileWriter::ImmediateFileWriter(StringPiece path)
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <folly/lang/SafeAssert.h> #include <folly/lang/SafeAssert.h>
#include <folly/logging/LogName.h> #include <folly/logging/LogName.h>
using std::shared_ptr;
using std::string; using std::string;
namespace folly { namespace folly {
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include <folly/logging/LogMessage.h> #include <folly/logging/LogMessage.h>
#include <folly/logging/LoggerDB.h> #include <folly/logging/LoggerDB.h>
using std::string;
namespace folly { namespace folly {
Logger::Logger(StringPiece name) : Logger{LoggerDB::get().getCategory(name)} {} Logger::Logger(StringPiece name) : Logger{LoggerDB::get().getCategory(name)} {}
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include <iostream> #include <iostream>
using namespace folly; using namespace folly;
using namespace std::literals::chrono_literals;
using testing::ContainsRegex;
namespace { namespace {
static bool* expectedMessage; static bool* expectedMessage;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <folly/test/TestUtils.h> #include <folly/test/TestUtils.h>
using namespace folly; using namespace folly;
using ::testing::Pair;
using ::testing::UnorderedElementsAre; using ::testing::UnorderedElementsAre;
namespace { namespace {
......
...@@ -67,8 +67,6 @@ DEFINE_bool( ...@@ -67,8 +67,6 @@ DEFINE_bool(
false, false,
"Test an XCHECK_EQ() statement with pointer arguments"); "Test an XCHECK_EQ() statement with pointer arguments");
using folly::LogLevel;
namespace { namespace {
/** /**
* Helper class to optionally log a fatal message during static initialization * Helper class to optionally log a fatal message during static initialization
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include <folly/Synchronized.h> #include <folly/Synchronized.h>
#include <folly/portability/PThread.h> #include <folly/portability/PThread.h>
using folly::StringPiece;
namespace folly { namespace folly {
namespace detail { namespace detail {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment