[mapguide-commits] r5542 - sandbox/adsk/2.3r/Common/Foundation/Data

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Feb 9 12:48:37 EST 2011


Author: brucedechant
Date: 2011-02-09 09:48:37 -0800 (Wed, 09 Feb 2011)
New Revision: 5542

Modified:
   sandbox/adsk/2.3r/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: sandbox/adsk/2.3r/Common/Foundation/Data/Byte.cpp
===================================================================
--- sandbox/adsk/2.3r/Common/Foundation/Data/Byte.cpp	2011-02-09 07:22:54 UTC (rev 5541)
+++ sandbox/adsk/2.3r/Common/Foundation/Data/Byte.cpp	2011-02-09 17:48:37 UTC (rev 5542)
@@ -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