[mapguide-commits] r9584 - trunk/MgDev/Web/src/HttpHandler

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jul 26 08:05:19 PDT 2019


Author: jng
Date: 2019-07-26 08:05:19 -0700 (Fri, 26 Jul 2019)
New Revision: 9584

Modified:
   trunk/MgDev/Web/src/HttpHandler/ReaderByteSourceImpl.cpp
Log:
Un-break GeoJSON feature output due to overzealous use of "auto" now that we're using C++11

Fixes #2802

Modified: trunk/MgDev/Web/src/HttpHandler/ReaderByteSourceImpl.cpp
===================================================================
--- trunk/MgDev/Web/src/HttpHandler/ReaderByteSourceImpl.cpp	2019-07-26 14:54:52 UTC (rev 9583)
+++ trunk/MgDev/Web/src/HttpHandler/ReaderByteSourceImpl.cpp	2019-07-26 15:05:19 UTC (rev 9584)
@@ -166,7 +166,7 @@
         }
     }
 
-    auto maxIndex = m_buf.length() - 1;
+    INT32 maxIndex = (INT32)m_buf.length() - 1;
     //We have an internal buffer. Clear this out first
     if (m_bufOffset < maxIndex)
     {



More information about the mapguide-commits mailing list