commit | 6a19fb80052356e560ad22115d93f9cc82c027e9 | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Thu Apr 29 11:31:05 2021 -0700 |
committer | Seth Moore <sethmo@google.com> | Thu Apr 29 12:50:06 2021 -0700 |
tree | ca38e78c20313e4d05c582e847d18a6ca3d34e81 | |
parent | fcba597f3013ea0adbcaf7b6bfb72888a3af7118 [diff] |
Make MessageVersion constexpr MessageVersion can be calculated at compile time, allowing for it to be used to initialize compile-time constants. Also ensure that we always have a return value from MessageVersion, in case a completely unexpected value is passed as the version parameter. Test: VtsHalRemotelyProvisionedComponentTargetTest Change-Id: I5b06015730dc5fa6d4821a586fc17d393e530080