Skip to content

Commit 7255181

Browse files
committed
c++20 tweak for TinyEXR
1 parent 6ef39c5 commit 7255181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tinyexr/tinyexr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7071,7 +7071,7 @@ typedef struct {
70717071
int y_sampling;
70727072
} ChannelInfo;
70737073

7074-
typedef struct {
7074+
struct HeaderInfo {
70757075
std::vector<tinyexr::ChannelInfo> channels;
70767076
std::vector<EXRAttribute> attributes;
70777077

@@ -7123,7 +7123,7 @@ typedef struct {
71237123
header_len = 0;
71247124
compression_type = 0;
71257125
}
7126-
} HeaderInfo;
7126+
};
71277127

71287128
static void ReadChannelInfo(std::vector<ChannelInfo> &channels,
71297129
const std::vector<unsigned char> &data) {

0 commit comments

Comments
 (0)