From bd1758c3c50fcd8f7cbeaa50d3cc71abfc1ac636 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 18 Apr 2022 15:35:06 -0700 Subject: [PATCH] remove some double pointer stuff Signed-off-by: Rosen Penev --- src/tiffcomposite_int.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tiffcomposite_int.hpp b/src/tiffcomposite_int.hpp index f1abbc32..f18ee31f 100644 --- a/src/tiffcomposite_int.hpp +++ b/src/tiffcomposite_int.hpp @@ -1538,10 +1538,9 @@ TiffComponent::UniquePtr newTiffSubIfd(uint16_t tag, IfdId group) { } //! Function to create and initialize a new binary array entry -template +template TiffComponent::UniquePtr newTiffBinaryArray0(uint16_t tag, IfdId group) { - // *& acrobatics is a workaround for a MSVC 7.1 bug - return TiffComponent::UniquePtr(new TiffBinaryArray(tag, group, arrayCfg, *(&arrayDef), N)); + return TiffComponent::UniquePtr(new TiffBinaryArray(tag, group, arrayCfg, arrayDef, N)); } //! Function to create and initialize a new simple binary array entry