Update of /cvsroot/boost/boost/boost/date_time
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18810

Modified Files:
      Tag: RC_1_34_0
        string_parse_tree.hpp 
Log Message:
fix an issue with multiple defines under some circumstances -- change static 
const into an enum

Index: string_parse_tree.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/date_time/string_parse_tree.hpp,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- string_parse_tree.hpp       26 Feb 2006 20:10:18 -0000      1.7
+++ string_parse_tree.hpp       23 Jun 2006 17:55:18 -0000      1.7.2.1
@@ -45,7 +45,8 @@
   }
   //! Returns true if more characters were parsed than was necessary
   /*! Should be used in conjunction with last_char() 
-   * to get the remaining character. */
+   *  to get the remaining character. 
+   */
   bool has_remaining() const
   {
     return (cache.size() > match_depth);
@@ -55,10 +56,8 @@
   string_type cache;
   unsigned short match_depth;
   short current_match;
-  static const short PARSE_ERROR;
+  enum PARSE_STATE { PARSE_ERROR= -1 };
 };
-template<typename charT>
-const short parse_match_result<charT>::PARSE_ERROR = -1;
 
   //for debug -- really only char streams...
 template<typename charT>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to