diff options
Diffstat (limited to 'boost/test/utils/runtime/env/variable.hpp')
-rw-r--r-- | boost/test/utils/runtime/env/variable.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/test/utils/runtime/env/variable.hpp b/boost/test/utils/runtime/env/variable.hpp index 740745df1a..8e8b0a0737 100644 --- a/boost/test/utils/runtime/env/variable.hpp +++ b/boost/test/utils/runtime/env/variable.hpp @@ -7,7 +7,7 @@ // // File : $RCSfile$ // -// Version : $Revision: 54633 $ +// Version : $Revision$ // // Description : defines model of program environment variable // *************************************************************************** @@ -74,7 +74,7 @@ public: 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: |