commit | 0c9a33d66f74a76c1842990f41da678f79fa0c05 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:05:09 2021 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:08:06 2021 +0000 |
tree | 4af4feecb0d975fb6722019522db4122a0078cbc | |
parent | 1fd0b145874a089e2ccd11f3960342059eeb7012 [diff] [blame] |
clang updates The openbmc CI was recently updated to clang-12 which requires some formatting updates to the code: https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08 Make those updates and refresh the clang-format file with the one from docs: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Change-Id: Ieb3626526373a053ec84431e7560003f229f338d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/device.hpp b/device.hpp index 7acd132..eee9b9b 100644 --- a/device.hpp +++ b/device.hpp
@@ -31,8 +31,7 @@ * @param inst - the device instance */ Device(const std::string& name, size_t inst) : name(name), instance(inst) - { - } + {} /** * Returns the instance number @@ -61,8 +60,7 @@ * is required */ virtual void onFailure() - { - } + {} /** * Pure virtual function to clear faults on the device