Merge "Revert "Base: Delete ostream<< with std::string*"" am: 7178e29c22 am: 3578488787 am: 29769551c0
am: 88253f1511
Change-Id: I56a66cab7b379ca51d6fb21e504a15a164700d53
diff --git a/base/include/android-base/logging.h b/base/include/android-base/logging.h
index f18cc0c..548b286 100644
--- a/base/include/android-base/logging.h
+++ b/base/include/android-base/logging.h
@@ -438,14 +438,4 @@
} // namespace base
} // namespace android
-namespace std {
-
-// Delete << with string* to avoid mistakes. The intention was most likely to print *string.
-// If you really want to print the pointer, consider static_cast<void*>.
-//
-// Note: for this to work, we need to have this in a namespace.
-std::ostream& operator<<(std::ostream& stream, const std::string* string_pointer) = delete;
-
-} // namespace std
-
#endif // ANDROID_BASE_LOGGING_H