remove some double pointer stuff
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
65c5b772c9
commit
bd1758c3c5
@ -1538,10 +1538,9 @@ TiffComponent::UniquePtr newTiffSubIfd(uint16_t tag, IfdId group) {
|
||||
}
|
||||
|
||||
//! Function to create and initialize a new binary array entry
|
||||
template <const ArrayCfg* arrayCfg, int N, const ArrayDef (&arrayDef)[N]>
|
||||
template <const ArrayCfg* arrayCfg, int N, const ArrayDef arrayDef[N]>
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user