[mapguide-commits] r5428 - trunk/MgDev/Common/CoordinateSystem
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Dec 1 08:47:43 EST 2010
Author: baertelchen
Date: 2010-12-01 05:47:43 -0800 (Wed, 01 Dec 2010)
New Revision: 5428
Modified:
trunk/MgDev/Common/CoordinateSystem/MentorDictionary.h
Log:
Fix build under linux.
vector<T>::size_type has to be
typename vector<T>::size_type
Modified: trunk/MgDev/Common/CoordinateSystem/MentorDictionary.h
===================================================================
--- trunk/MgDev/Common/CoordinateSystem/MentorDictionary.h 2010-12-01 13:24:53 UTC (rev 5427)
+++ trunk/MgDev/Common/CoordinateSystem/MentorDictionary.h 2010-12-01 13:47:43 UTC (rev 5428)
@@ -171,7 +171,7 @@
if (NULL == allDictEntries.get())
return NULL;
- for(vector<T>::size_type i = 0; i < allDictEntries->size(); i++)
+ for(typename vector<T>::size_type i = 0; i < allDictEntries->size(); i++)
{
T& def = allDictEntries->at(i);
@@ -286,7 +286,7 @@
//go through all defs as we've read them from CsMap, do some post processing and finally
//retrieve the MgCs item we'll later return to the caller
- for(vector<U>::size_type i = 0; i < allDefs->size(); i++)
+ for(typename vector<U>::size_type i = 0; i < allDefs->size(); i++)
{
U csMapDef = allDefs->at(i); //don't work on the reference
if (doPostProcess)
More information about the mapguide-commits
mailing list