Skip to content

sjpegi.h,Encoder: mark static const member as constexpr#136

Merged
jzern merged 1 commit intowebmproject:mainfrom
jzern:sync-3
Apr 29, 2025
Merged

sjpegi.h,Encoder: mark static const member as constexpr#136
jzern merged 1 commit intowebmproject:mainfrom
jzern:sync-3

Conversation

@jzern
Copy link
Copy Markdown
Contributor

@jzern jzern commented Apr 29, 2025

This fixes the const declaration of ALIGN_CST which has an initial
value, but is not technically a definition. Instead constexpr (which
counts as a definition) is used. This fixes linker errors in some
situations.

PiperOrigin-RevId: 307131466

This fixes the const declaration of `ALIGN_CST` which has an initial
value, but is not technically a definition. Instead constexpr (which
counts as a definition) is used. This fixes linker errors in some
situations.

PiperOrigin-RevId: 307131466
@jzern jzern marked this pull request as ready for review April 29, 2025 00:15
@jzern jzern merged commit e98695c into webmproject:main Apr 29, 2025
4 checks passed
jzern added a commit that referenced this pull request Apr 29, 2025
@jzern jzern deleted the sync-3 branch April 29, 2025 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant