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 2003/08/05 03:37:49 UTC

cvs commit: xml-xalan/c/src/xalanc/XSLT VariablesStack.cpp

dbertoni    2003/08/04 18:37:49

  Modified:    c/src/xalanc/XSLT VariablesStack.cpp
  Log:
  More const-correctness.
  
  Revision  Changes    Path
  1.4       +2 -2      xml-xalan/c/src/xalanc/XSLT/VariablesStack.cpp
  
  Index: VariablesStack.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/VariablesStack.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- VariablesStack.cpp	4 Aug 2003 06:35:33 -0000	1.3
  +++ VariablesStack.cpp	5 Aug 2003 01:37:49 -0000	1.4
  @@ -373,7 +373,7 @@
   	// findEntry() returns an index into the stack.  We should
   	// _never_ take the address of anything in the stack, since
   	// the address could change at unexpected times.
  -	size_type	theEntryIndex =
  +	const size_type		theEntryIndex =
   		findEntry(name, fIsParam, fSearchGlobalSpace);
   
   	if (theEntryIndex == m_stack.size())
  @@ -577,7 +577,7 @@
   		const StackEntry&	theEntry = m_stack[i];
   
   		// Guarantee that it will be popped when we're done.
  -		EnsurePop	theEnsurePop(*this);
  +		const EnsurePop		theEnsurePop(*this);
   
   		if(theEntry.getType() == StackEntry::eContextMarker)
   		{
  
  
  

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