Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85189 - trunk/libs/log/example/doc
From: andrey.semashev_at_[hidden]
Date: 2013-08-02 05:40:23


Author: andysem
Date: 2013-08-02 05:40:23 EDT (Fri, 02 Aug 2013)
New Revision: 85189
URL: http://svn.boost.org/trac/boost/changeset/85189

Log:
Added missing includes. Fixes #8957.

Text files modified:
   trunk/libs/log/example/doc/tutorial_fmt_stream.cpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/libs/log/example/doc/tutorial_fmt_stream.cpp
==============================================================================
--- trunk/libs/log/example/doc/tutorial_fmt_stream.cpp Fri Aug 2 04:30:04 2013 (r85188)
+++ trunk/libs/log/example/doc/tutorial_fmt_stream.cpp 2013-08-02 05:40:23 EDT (Fri, 02 Aug 2013) (r85189)
@@ -5,18 +5,22 @@
  * http://www.boost.org/LICENSE_1_0.txt)
  */
 
+#include <boost/date_time/posix_time/posix_time_types.hpp>
 #include <boost/log/trivial.hpp>
 #include <boost/log/expressions.hpp>
 #include <boost/log/sources/severity_logger.hpp>
 #include <boost/log/sources/record_ostream.hpp>
 #include <boost/log/utility/setup/file.hpp>
 #include <boost/log/utility/setup/common_attributes.hpp>
+#include <boost/log/support/date_time.hpp>
 
 namespace logging = boost::log;
 namespace src = boost::log::sources;
 namespace expr = boost::log::expressions;
 namespace keywords = boost::log::keywords;
 
+#if 1
+
 //[ example_tutorial_formatters_stream
 void init()
 {
@@ -37,7 +41,7 @@
 }
 //]
 
-#if 0
+#else
 
 //[ example_tutorial_formatters_stream_date_time
 void init()


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk