summaryrefslogtreecommitdiff
path: root/libs/androidfw
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2020-02-26 09:02:08 -0800
committerSteven Moreland <smoreland@google.com>2020-02-26 09:14:29 -0800
commit4351d265755b255ff60b678410c5b64e35164d62 (patch)
tree86a8a4d7a754342510f5ad941e430ea2f9d3dc3e /libs/androidfw
parenta7fdceeba2139f2b0824af8ca5d10d55b6ced398 (diff)
Use String8 ostream from String8.h
Bug: N/A Test: N/A Change-Id: If2762ec4a9bb84cca41b1752fe005605eb9b2013
Diffstat (limited to 'libs/androidfw')
-rw-r--r--libs/androidfw/tests/CommonHelpers.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/androidfw/tests/CommonHelpers.h b/libs/androidfw/tests/CommonHelpers.h
index 8af13f20fb0d..316a57aa1ae9 100644
--- a/libs/androidfw/tests/CommonHelpers.h
+++ b/libs/androidfw/tests/CommonHelpers.h
@@ -21,8 +21,6 @@
#include <string>
#include "androidfw/ResourceTypes.h"
-#include "utils/String16.h"
-#include "utils/String8.h"
namespace android {
@@ -40,10 +38,6 @@ static inline bool operator==(const ResTable_config& a, const ResTable_config& b
return a.compare(b) == 0;
}
-static inline ::std::ostream& operator<<(::std::ostream& out, const String8& str) {
- return out << str.string();
-}
-
static inline ::std::ostream& operator<<(::std::ostream& out, const ResTable_config& c) {
return out << c.toString();
}