commit | 4fdbdd1692a549a31382f33f5d529fd141453ea1 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu May 11 11:51:08 2017 -0700 |
committer | Yi Kong <yikong@google.com> | Tue May 16 02:50:27 2017 +0000 |
tree | 9e0c5394f8589bde9443e92eef195be02d513544 | |
parent | 6eef03e1caf44f3e21b3313855d07a3110c9a853 [diff] |
Do not use default initializer for union The next Clang update complains about this code pattern. Rewrite default constructor to explicitly initialize the union field instead of using the default initializer. Test: Build Bug: 37752547 Change-Id: I22a2aa392d7f4803282baed832b0fa2f852016ac