summaryrefslogtreecommitdiffstats
path: root/googletest/include
diff options
context:
space:
mode:
authorPhoebe Liang <phoebeliang@google.com>2023-02-27 21:02:26 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-02-27 21:03:15 (GMT)
commit6882aa0987c6d3266a05bbec609587a6f80510b9 (patch)
treef7307db6ace9e2bf70a9f9331ccccc3179bc1390 /googletest/include
parent2ce822ac559a985f5ed17be9a1854628051e55a0 (diff)
downloadgoogletest-6882aa0987c6d3266a05bbec609587a6f80510b9.zip
googletest-6882aa0987c6d3266a05bbec609587a6f80510b9.tar.gz
googletest-6882aa0987c6d3266a05bbec609587a6f80510b9.tar.bz2
Reorder printers list.
PiperOrigin-RevId: 512708763 Change-Id: I1f24f2e1d17359aee5aa4cdf614c9357872ca03b
Diffstat (limited to 'googletest/include')
-rw-r--r--googletest/include/gtest/gtest-printers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h
index 7d7e77c..739d545 100644
--- a/googletest/include/gtest/gtest-printers.h
+++ b/googletest/include/gtest/gtest-printers.h
@@ -306,9 +306,10 @@ template <typename T>
void PrintWithFallback(const T& value, ::std::ostream* os) {
using Printer = typename FindFirstPrinter<
T, void, ContainerPrinter, FunctionPointerPrinter, PointerPrinter,
+ ProtobufPrinter,
internal_stream_operator_without_lexical_name_lookup::StreamPrinter,
- ProtobufPrinter, ConvertibleToIntegerPrinter,
- ConvertibleToStringViewPrinter, RawBytesPrinter, FallbackPrinter>::type;
+ ConvertibleToIntegerPrinter, ConvertibleToStringViewPrinter,
+ RawBytesPrinter, FallbackPrinter>::type;
Printer::PrintValue(value, os);
}