components/openexr/patches/006-ImfAutoArray.h-SS12.4.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 28 Jan 2016 23:01:44 -0800
changeset 5368 b55484323597
parent 3758 cc71a31c59be
permissions -rw-r--r--
Added tag s12-92 for changeset 4873f28a0784

# Internal patch.
--- IlmImf/ImfAutoArray.h	2015-02-01 16:32:21.274048802 -0800
+++ IlmImf/ImfAutoArray.h	2015-02-01 16:32:54.346820460 -0800
@@ -46,6 +46,8 @@
 
 #include "OpenEXRConfig.h"
 
+#include <cstring>
+
 namespace Imf {
 
 
@@ -58,7 +60,7 @@
       public:
 
 	AutoArray (): _data (new T [size])
-	{ (void) memset(_data, '\0', size * sizeof(T)); }
+	{ (void) std::memset(_data, '\0', size * sizeof(T)); }
 
 	~AutoArray () {delete [] _data;}