You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by rl...@apache.org on 2018/02/21 22:04:13 UTC

svn commit: r1825016 - /xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp

Author: rleigh
Date: Wed Feb 21 22:04:13 2018
New Revision: 1825016

URL: http://svn.apache.org/viewvc?rev=1825016&view=rev
Log:
PlatformUtils: Remove use of static const in static inline method

Modified:
    xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp

Modified: xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp?rev=1825016&r1=1825015&r2=1825016&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp Wed Feb 21 22:04:13 2018
@@ -804,9 +804,9 @@ XMLPlatformUtils::alignPointerForNewBloc
     //    per-architecture basis. In the absense of that we
     //    take an educated guess.
 #ifdef XML_PLATFORM_NEW_BLOCK_ALIGNMENT
-    static const XMLSize_t alignment = XML_PLATFORM_NEW_BLOCK_ALIGNMENT;
+    const XMLSize_t alignment = XML_PLATFORM_NEW_BLOCK_ALIGNMENT;
 #else
-    static const XMLSize_t alignment = (sizeof(void*) >= sizeof(double)) ? sizeof(void*) : sizeof(double);
+    const XMLSize_t alignment = (sizeof(void*) >= sizeof(double)) ? sizeof(void*) : sizeof(double);
 #endif
 
     //    Calculate current alignment of pointer



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org