| commit | ac9d5c32bb9bbe53ed68d0a125308b0e0696cf8d | [log] [tgz] |
|---|---|---|
| author | William A. Kennington III <wak@google.com> | Mon Nov 12 14:58:39 2018 -0800 |
| committer | William A. Kennington III <wak@google.com> | Mon Nov 12 14:59:42 2018 -0800 |
| tree | 509a9ff180d8a7ad42a2d827fa3dc62c394cbd58 | |
| parent | d3e4dad309c0cf9303128be7d7f831bdf5f13e26 [diff] |
power_supply: Fix duplicate variant value
mapbox::variant is fine with having a variant contain duplicate types.
However std::variant thrips a static assert if you duplicate the types
contained in the variant. This is just a refactor that will not affect
behavior.
Tested:
Compiled and run through unit tests.
Change-Id: I99628f8f520ff58df35eee1d51772b0e93f2d9fd
Signed-off-by: William A. Kennington III <wak@google.com>