$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r60061 - in sandbox/SOC/2007/cgi/trunk/boost/cgi: common utility
From: lists.drrngrvy_at_[hidden]
Date: 2010-03-01 16:54:09
Author: drrngrvy
Date: 2010-03-01 16:54:08 EST (Mon, 01 Mar 2010)
New Revision: 60061
URL: http://svn.boost.org/trac/boost/changeset/60061
Log:
Fixes for linux. Kindly contributed by Scott Bailey. Tested on MSVC 9.0.
Text files modified: 
   sandbox/SOC/2007/cgi/trunk/boost/cgi/common/data_map_proxy.hpp |     2 +-                                      
   sandbox/SOC/2007/cgi/trunk/boost/cgi/utility/sessions.hpp      |     4 ++--                                    
   2 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/SOC/2007/cgi/trunk/boost/cgi/common/data_map_proxy.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/trunk/boost/cgi/common/data_map_proxy.hpp	(original)
+++ sandbox/SOC/2007/cgi/trunk/boost/cgi/common/data_map_proxy.hpp	2010-03-01 16:54:08 EST (Mon, 01 Mar 2010)
@@ -14,7 +14,7 @@
 # ifndef NDEBUG
 #   define BOOST_CGI_MAP_ASSERT(x) if (!x) throw map_read_error<map_type>()
 # else
-#   define BOOST_CGI_MAP_ASSERT(x) void
+#   define BOOST_CGI_MAP_ASSERT(x)
 # endif // NDEBUG
 #endif // BOOST_CGI_MAP_ASSERT
 
Modified: sandbox/SOC/2007/cgi/trunk/boost/cgi/utility/sessions.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/trunk/boost/cgi/utility/sessions.hpp	(original)
+++ sandbox/SOC/2007/cgi/trunk/boost/cgi/utility/sessions.hpp	2010-03-01 16:54:08 EST (Mon, 01 Mar 2010)
@@ -70,7 +70,7 @@
     ofstream ofs((sesh.id() + ".arc").c_str());
     if (ofs) {
       boost::archive::text_oarchive archive(ofs);
-      archive<< static_cast<basic_session<T>::value_type&>(sesh);
+      archive<< static_cast<typename basic_session<T>::value_type&>(sesh);
     }
   }
 
@@ -80,7 +80,7 @@
     ifstream ifs((sesh.id() + ".arc").c_str());
     if (ifs) {
       boost::archive::text_iarchive archive(ifs);
-      archive>> static_cast<basic_session<T>::value_type&>(sesh);
+      archive>> static_cast<typename basic_session<T>::value_type&>(sesh);
     }
   }
 };