commit | d5c7eec288e30dec656d44d6c9e2534ae7f16323 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Nov 29 16:33:00 2018 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Nov 29 16:33:00 2018 -0800 |
tree | 399f3d1a5800de3b501c6194b4120a74cd8d71fc | |
parent | c55606b22fb908f030150b82194ded0c2038cab3 [diff] |
C++17 compatibility: add missing `constexpr`. Fixes this error when we move the global default to C++17: hardware/google/av/codec2/tests/C2_test.cpp:142:19: error: static_assert expression is not an integral constant expression static_assert(c2_cntr32_t(1) == c2_cntr32_t(c2_cntr64_t(0x100000001ul)), "1 == 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bug: http://b/111067277 Test: builds Change-Id: I66b8573d5dbdb02f953ec54b77eff274333c6f83