Skip to content

Commit

Permalink
remove superfluous type parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstphrbrns committed Dec 1, 2023
1 parent 07b30c2 commit a4f8cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ifds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ pixels in the image
$(FIELDS)
"""
struct TiffFileStrip{O, T}
struct TiffFileStrip{O}
"""Strip data"""
io::IOBuffer

Expand Down Expand Up @@ -276,7 +276,7 @@ function Base.read!(target::AbstractArray{T, N}, tf::TiffFile{O, S}, ifd::IFD{O}
arr = view(samples, start:(start+len-1))
data = Vector{UInt8}(undef, bytes)
read!(tf, data)
tfs = TiffFileStrip{O, rtype}(IOBuffer(data), ifd)
tfs = TiffFileStrip{O}(IOBuffer(data), ifd)

function go(tfs, arr, comp)
read!(tfs, arr, comp)
Expand Down

0 comments on commit a4f8cc0

Please sign in to comment.