Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51904 - trunk/boost/archive
From: ramey_at_[hidden]
Date: 2009-03-22 15:05:11


Author: ramey
Date: 2009-03-22 15:05:10 EDT (Sun, 22 Mar 2009)
New Revision: 51904
URL: http://svn.boost.org/trac/boost/changeset/51904

Log:
const correctness
Text files modified:
   trunk/boost/archive/tmpdir.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/archive/tmpdir.hpp
==============================================================================
--- trunk/boost/archive/tmpdir.hpp (original)
+++ trunk/boost/archive/tmpdir.hpp 2009-03-22 15:05:10 EDT (Sun, 22 Mar 2009)
@@ -30,8 +30,8 @@
 namespace boost {
 namespace archive {
 
-inline char * tmpdir(){
- char *dirname;
+inline const char * tmpdir(){
+ const char *dirname;
     dirname = std::getenv("TMP");
     if(NULL == dirname)
         dirname = std::getenv("TMPDIR");


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