Skip to content

Commit bd1758c

Browse files
committed
remove some double pointer stuff
Signed-off-by: Rosen Penev <[email protected]>
1 parent 65c5b77 commit bd1758c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tiffcomposite_int.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,10 +1538,9 @@ TiffComponent::UniquePtr newTiffSubIfd(uint16_t tag, IfdId group) {
15381538
}
15391539

15401540
//! Function to create and initialize a new binary array entry
1541-
template <const ArrayCfg* arrayCfg, int N, const ArrayDef (&arrayDef)[N]>
1541+
template <const ArrayCfg* arrayCfg, int N, const ArrayDef arrayDef[N]>
15421542
TiffComponent::UniquePtr newTiffBinaryArray0(uint16_t tag, IfdId group) {
1543-
// *& acrobatics is a workaround for a MSVC 7.1 bug
1544-
return TiffComponent::UniquePtr(new TiffBinaryArray(tag, group, arrayCfg, *(&arrayDef), N));
1543+
return TiffComponent::UniquePtr(new TiffBinaryArray(tag, group, arrayCfg, arrayDef, N));
15451544
}
15461545

15471546
//! Function to create and initialize a new simple binary array entry

0 commit comments

Comments
 (0)