Cross Reference: 006-ImfAutoArray.h-SS12.4.patch
xref
: /
solaris-userland
/
components
/
openexr
/
patches
/
006-ImfAutoArray.h-SS12.4.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
3758
N/A
# Internal patch.
3758
N/A
---
IlmImf/ImfAutoArray.h
2015-02-01 16:32:21.274048802 -0800
3758
N/A
+++
IlmImf/ImfAutoArray.h
2015-02-01 16:32:54.346820460 -0800
3758
N/A
@@ -46,6 +46,8 @@
3758
N/A
3758
N/A
#include "
OpenEXRConfig.h
"
3758
N/A
3758
N/A
+#include <cstring>
3758
N/A
+
3758
N/A
namespace Imf {
3758
N/A
3758
N/A
3758
N/A
@@ -58,7 +60,7 @@
3758
N/A
public:
3758
N/A
3758
N/A
AutoArray (): _data (new T [size])
3758
N/A
- { (void) memset(_data, '\0', size * sizeof(T)); }
3758
N/A
+ { (void) std::memset(_data, '\0', size * sizeof(T)); }
3758
N/A
3758
N/A
~AutoArray () {delete [] _data;}
3758
N/A