Skip to content
Commit 4656063c authored by Ed Tanous's avatar Ed Tanous Committed by Ed Tanous
Browse files

Fix constexpr on clang



clang correctly notes that this branch is impossible to hit on 32 bit
systems, so wrap it in an if contexpr check to check for 32 bit, and
avoid the next branch entirely.

Tested: code compiles further on clang.  Unit tests pass.

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Change-Id: Iccaab8402d839faa7c3f7cea457ef6bcba832f67
parent 4068129a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment