diff options
author | Kun Yi <kunyi731@gmail.com> | 2019-11-14 11:38:44 -0800 |
---|---|---|
committer | Kun Yi <kunyi731@gmail.com> | 2019-11-21 10:06:48 -0800 |
commit | fea1d8115bace4bedae2523a9d9389a990adb09f (patch) | |
tree | 527085518596fcd100d4d20e599489a5809e2dbe /main.cpp | |
parent | 9ce834822ed625512913e14b83c50487d4b2c12b (diff) | |
download | phosphor-ipmi-blobs-fea1d8115bace4bedae2523a9d9389a990adb09f.tar.gz phosphor-ipmi-blobs-fea1d8115bace4bedae2523a9d9389a990adb09f.zip |
cleanup: Use scoped initializers; move implementation to source file
Simplify code and address comments from
http://gerrit.openbmc-project.xyz/c/openbmc/phosphor-ipmi-blobs/+/27399:
* Use C++17 syntax of intializers in conditionals to simplify code.
* Move getActionHandle() implementation to .cpp
* return false explicitly
Tested:
Unit tests still pass.
Signed-off-by: Kun Yi <kunyi731@gmail.com>
Change-Id: I08a78125206f284d8c748822912e11828fb39968
Diffstat (limited to 'main.cpp')
0 files changed, 0 insertions, 0 deletions