dbertoni    01/12/13 09:21:09

  Modified:    c/src/Include STLHelper.hpp
  Log:
  Added typename where it was missing.
  
  Revision  Changes    Path
  1.3       +4 -4      xml-xalan/c/src/Include/STLHelper.hpp
  
  Index: STLHelper.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/Include/STLHelper.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- STLHelper.hpp     2001/09/18 18:22:05     1.2
  +++ STLHelper.hpp     2001/12/13 17:21:08     1.3
  @@ -116,13 +116,13 @@
   #if defined(XALAN_NO_NAMESPACES)
   struct select1st : public unary_function<PairType, PairType::first_type>
   #else
  -struct select1st : public std::unary_function<PairType, PairType::first_type>
  +struct select1st : public std::unary_function<PairType, typename 
PairType::first_type>
   #endif
   {
   #if defined(XALAN_NO_NAMESPACES)
        typedef unary_function<PairType, PairType::first_type>  BaseClassType;
   #else
  -     typedef std::unary_function<PairType, PairType::first_type>     
BaseClassType;
  +     typedef std::unary_function<PairType, typename PairType::first_type>    
BaseClassType;
   #endif
   
        typedef typename BaseClassType::result_type             result_type;
  @@ -153,13 +153,13 @@
   #if defined(XALAN_NO_NAMESPACES)
   struct select2nd : public unary_function<PairType, PairType::second_type>
   #else
  -struct select2nd : public std::unary_function<PairType, 
PairType::second_type>
  +struct select2nd : public std::unary_function<PairType, typename 
PairType::second_type>
   #endif
   {
   #if defined(XALAN_NO_NAMESPACES)
        typedef unary_function<PairType, PairType::second_type> BaseClassType;
   #else
  -     typedef std::unary_function<PairType, PairType::second_type>    
BaseClassType;
  +     typedef std::unary_function<PairType, typename PairType::second_type>   
BaseClassType;
   #endif
   
        typedef typename BaseClassType::result_type             result_type;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to