commit | 7a0e5dfcfa49f4a60e2d0ddd9f90c64d177a7f14 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed May 19 13:31:29 2021 -0700 |
committer | William A. Kennington III <wak@google.com> | Wed May 19 13:50:49 2021 -0700 |
tree | deaeaca002ffc173904b026475059ea6a64893ff | |
parent | dbafbce64c6de3cdbbf5ebd4b53e12f80db78a5a [diff] |
types: Force underlying int conversion for enums Boost 1.76.0 changed the behavior of numeric to not accept implicitly converted ints from enum class types. This breaks many of our casts and would require 2 casts in most cases. This adds a convenience function to do the underlying type conversions needed to cast enums to ints and vice versa. Change-Id: Id653d6a10ef5cab8267c174848940807d693dbf1 Signed-off-by: William A. Kennington III <wak@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.