[mapguide-commits] r5543 - trunk/MgDev/Common/Foundation/Data

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Feb 9 12:49:20 EST 2011


Author: brucedechant
Date: 2011-02-09 09:49:20 -0800 (Wed, 09 Feb 2011)
New Revision: 5543

Modified:
   trunk/MgDev/Common/Foundation/Data/Byte.cpp
Log:
Fix for trac ticket 1597 - Remove 16MB memory size restriction on MgByte
http://trac.osgeo.org/mapguide/ticket/1597

Notes:
- Small update to remove exception being thrown


Modified: trunk/MgDev/Common/Foundation/Data/Byte.cpp
===================================================================
--- trunk/MgDev/Common/Foundation/Data/Byte.cpp	2011-02-09 17:48:37 UTC (rev 5542)
+++ trunk/MgDev/Common/Foundation/Data/Byte.cpp	2011-02-09 17:49:20 UTC (rev 5543)
@@ -29,11 +29,6 @@
 MgByte::MgByte(BYTE_ARRAY_IN bytes, INT32 len, AllocatorType allocator)
 : m_allocType(allocator)
 {
-    if (allocator != MgByte::None)
-    {
-        throw new MgArgumentOutOfRangeException(L"MgByte.MgByte", __LINE__, __WFILE__, NULL, L"", NULL);
-    }
-
     // Basic initialization
     m_bytes = NULL;
     m_len = 0;



More information about the mapguide-commits mailing list