The GitHub Actions job "pre-commit" on iceberg-cpp.git/bugfixes_new has failed.
Run started by GitHub user shangxinli (triggered by shangxinli).

Head commit for run:
a92b3259de5b89695eb7015305d32d21096da5a8 / Xinli Shang <[email protected]>
fix: make static_assert template-dependent in ByteSwap

The static_assert(false, ...) in the ByteSwap function template was
unconditionally evaluated at template definition time, which could
cause compilation failures even when the else branch is never
instantiated.

Changed to static_assert(sizeof(T) == 0, ...) to make the assertion
dependent on the template parameter T. This ensures the assertion
only triggers when the else branch is actually instantiated with an
unsupported floating-point type size.

Report URL: https://github.com/apache/iceberg-cpp/actions/runs/20602665147

With regards,
GitHub Actions via GitBox

Reply via email to