You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/12/12 02:51:21 UTC

cvs commit: xml-xalan/c/src/DOMSupport XalanNamespacesStack.hpp

dbertoni    2002/12/11 17:51:21

  Modified:    c/src/DOMSupport XalanNamespacesStack.hpp
  Log:
  Added ifdef for using deque<bool> instead of vector<bool>.
  
  Revision  Changes    Path
  1.9       +8 -0      xml-xalan/c/src/DOMSupport/XalanNamespacesStack.hpp
  
  Index: XalanNamespacesStack.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/XalanNamespacesStack.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XalanNamespacesStack.hpp	20 Nov 2002 17:00:49 -0000	1.8
  +++ XalanNamespacesStack.hpp	12 Dec 2002 01:51:21 -0000	1.9
  @@ -260,10 +260,18 @@
   
   #if defined(XALAN_NO_STD_NAMESPACE)
   	typedef	deque<value_type>		NamespacesStackType;
  +#if defined(XALAN_USE_DEQUE_FOR_VECTOR_BOOL)
  +	typedef deque<bool>				BoolVectorType;
  +#else
   	typedef vector<bool>			BoolVectorType;
  +#endif
   #else
   	typedef	std::deque<value_type>	NamespacesStackType;
  +#if defined(XALAN_USE_DEQUE_FOR_VECTOR_BOOL)
  +	typedef std::deque<bool>		BoolVectorType;
  +#else
   	typedef std::vector<bool>		BoolVectorType;
  +#endif
   #endif
   
   	typedef NamespacesStackType::iterator					iterator;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org