commit | 584dfc768850917ee0c1c72075640788c4fb24fc | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu May 11 11:51:08 2017 -0700 |
committer | Yi Kong <yikong@google.com> | Tue Jun 06 22:43:56 2017 +0000 |
tree | 35b8aeb6c53c6ca542bbb53fb856b4e677d948dd | |
parent | 485d70cfa4e4ecd3f38e9cf404c6faca9561f29f [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 (cherry picked from commit 4fdbdd1692a549a31382f33f5d529fd141453ea1)