Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49609 - trunk/boost/date_time
From: andrey.semashev_at_[hidden]
Date: 2008-11-06 10:12:18


Author: andysem
Date: 2008-11-06 10:12:17 EST (Thu, 06 Nov 2008)
New Revision: 49609
URL: http://svn.boost.org/trac/boost/changeset/49609

Log:
Added a missing include that could break compilation of user's code with STLport.
Text files modified:
   trunk/boost/date_time/c_time.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/boost/date_time/c_time.hpp
==============================================================================
--- trunk/boost/date_time/c_time.hpp (original)
+++ trunk/boost/date_time/c_time.hpp 2008-11-06 10:12:17 EST (Thu, 06 Nov 2008)
@@ -15,6 +15,7 @@
 */
 
 #include <ctime>
+#include <string> // to be able to convert from string literals to exceptions
 #include <stdexcept>
 #include <boost/throw_exception.hpp>
 #include <boost/date_time/compiler_config.hpp>


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