From 81818f2a9c9336d71b65b194aaecdef493e9122b Mon Sep 17 00:00:00 2001 From: Peter Hillman Date: Fri, 7 Aug 2020 17:24:42 +1200 Subject: [PATCH] suppress clang undefined behavior sanitizer in EnvmapAttribute::copyValuesFrom() Signed-off-by: Peter Hillman --- OpenEXR/IlmImf/ImfEnvmapAttribute.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenEXR/IlmImf/ImfEnvmapAttribute.h b/OpenEXR/IlmImf/ImfEnvmapAttribute.h index 0d0129b80a..5036eca228 100644 --- a/OpenEXR/IlmImf/ImfEnvmapAttribute.h +++ b/OpenEXR/IlmImf/ImfEnvmapAttribute.h @@ -61,7 +61,9 @@ template <> IMF_EXPORT void EnvmapAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &, int, int); - +template <> IMF_EXPORT +void +EnvmapAttribute::copyValueFrom (const OPENEXR_IMF_INTERNAL_NAMESPACE::Attribute &other); OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT