OSDN Git Service

Remove extra using statements
authorTom Cherry <tomcherry@google.com>
Fri, 14 Feb 2020 20:27:19 +0000 (12:27 -0800)
committerTom Cherry <tomcherry@google.com>
Fri, 14 Feb 2020 20:45:06 +0000 (12:45 -0800)
android::base::Errorf and android::base::ErrnoErrorf are now #define's
instead of functions, so remove their using statements.

Test: build
Change-Id: I7333b916ee87668fb9fd15b9293de5da41c43409

generator/librarylistloader.cc
generator/variableloader.cc
modules/section.cc
modules/tests/section_test.cc

index 65aae1c..7ee7262 100644 (file)
@@ -29,7 +29,6 @@
 
 using LibraryList = std::set<std::string>;
 
-using android::base::ErrnoErrorf;
 using android::base::Result;
 
 namespace {
index 75d6216..8a60de0 100644 (file)
@@ -27,7 +27,6 @@
 #include "linkerconfig/log.h"
 #include "linkerconfig/variables.h"
 
-using android::base::ErrnoErrorf;
 using android::base::Result;
 using android::linkerconfig::modules::GetProductVndkVersion;
 using android::linkerconfig::modules::GetVendorVndkVersion;
index 325a3d3..8b58bc1 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "linkerconfig/log.h"
 
-using android::base::Errorf;
 using android::base::Join;
 using android::base::Result;
 
@@ -135,4 +134,4 @@ std::string Section::GetName() {
 }
 }  // namespace modules
 }  // namespace linkerconfig
-}  // namespace android
\ No newline at end of file
+}  // namespace android
index 8d26610..0425fcd 100644 (file)
@@ -25,7 +25,6 @@
 #include "linkerconfig/configwriter.h"
 #include "modules_testbase.h"
 
-using android::base::Errorf;
 using namespace android::linkerconfig::modules;
 
 constexpr const char* kSectionWithNamespacesExpectedResult =