summaryrefslogtreecommitdiff
path: root/devel/glog/files/patch-src-glog-stl_logging.h.in
blob: 9807edb350cc48245aab024273cc3eb3ff369512 (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 12:02:27.000000000 +0800
+++ src/glog/stl_logging.h.in	2015-03-22 01:13:41.132580961 +0800
@@ -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 @@
 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