Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81913 - in branches/release/boost/test/utils/runtime: cla env
From: vicente.botet_at_[hidden]
Date: 2012-12-13 16:32:59


Author: viboes
Date: 2012-12-13 16:32:58 EST (Thu, 13 Dec 2012)
New Revision: 81913
URL: http://svn.boost.org/trac/boost/changeset/81913

Log:
Thread: merge [81791]-tools dir missing
Text files modified:
   branches/release/boost/test/utils/runtime/cla/parameter.hpp | 2 +-
   branches/release/boost/test/utils/runtime/env/variable.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/test/utils/runtime/cla/parameter.hpp
==============================================================================
--- branches/release/boost/test/utils/runtime/cla/parameter.hpp (original)
+++ branches/release/boost/test/utils/runtime/cla/parameter.hpp 2012-12-13 16:32:58 EST (Thu, 13 Dec 2012)
@@ -78,7 +78,7 @@
     }
 
     // access methods
- bool has_argument() const { return m_actual_argument; }
+ bool has_argument() const { return m_actual_argument!=0; }
     argument const& actual_argument() const { return *m_actual_argument; }
     argument_ptr actual_argument() { return m_actual_argument; }
 

Modified: branches/release/boost/test/utils/runtime/env/variable.hpp
==============================================================================
--- branches/release/boost/test/utils/runtime/env/variable.hpp (original)
+++ branches/release/boost/test/utils/runtime/env/variable.hpp 2012-12-13 16:32:58 EST (Thu, 13 Dec 2012)
@@ -74,7 +74,7 @@
             res.reset();
     }
 
- bool has_value() const { return m_data->m_value; }
+ bool has_value() const { return m_data->m_value!=0; }
     cstring name() const { return m_data->m_var_name; }
 
 protected:


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