commit | ba588bc3fbcc663bac967da7ae38c378d178e518 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Aug 08 14:19:41 2018 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Aug 08 14:38:49 2018 -0700 |
tree | be0dde1aa59edf0e3061de1636144250d0f9e5fb | |
parent | 072f12dd33706958412694714cfc17da85ea86b0 [diff] |
SerializeFlags is a namespace. The SerializeFlags becomes a namespace that contains the original class definition under type SerializeFlags::Type and static constants. Consequently, all SeralizeFlags methods can now be constexpr. Also added static tests. Test: libvintf_test Test: vintf_object_test Bug: 110711640 Change-Id: I786a1f77e19defc2ab2d025de3ed7cfe48f4fbce