summaryrefslogtreecommitdiff
path: root/devel/glog/files/patch-src-glog-stl_logging.h.in
blob: 3f2518db24049377fadaac709fca6d59b33f0f5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- src/glog/stl_logging.h.in.orig	2015-03-11 04:02:27 UTC
+++ src/glog/stl_logging.h.in
@@ -76,6 +76,9 @@
 #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST
 # include <ext/slist>
 #endif
+#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST
+# include <forward_list>
+#endif
 
 // Forward declare these two, and define them after all the container streams
 // operators so that we can recurse from pair -> container -> container -> pair
@@ -101,9 +104,13 @@ inline std::ostream& operator<<(std::ost
 OUTPUT_TWO_ARG_CONTAINER(std::vector)
 OUTPUT_TWO_ARG_CONTAINER(std::deque)
 OUTPUT_TWO_ARG_CONTAINER(std::list)
+
 #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST
 OUTPUT_TWO_ARG_CONTAINER(__gnu_cxx::slist)
 #endif
+#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST
+OUTPUT_TWO_ARG_CONTAINER(std::forward_list)
+#endif
 
 #undef OUTPUT_TWO_ARG_CONTAINER