Add clang tidy check
Change-Id: I1c9f03e95aa0ca1977ddef84ea765222d2281b4f
diff --git a/src/fru_device.cpp b/src/fru_device.cpp
index 138568c..134d355 100644
--- a/src/fru_device.cpp
+++ b/src/fru_device.cpp
@@ -728,7 +728,7 @@
FindDevicesWithCallback(const std::vector<fs::path>& i2cBuses,
BusMap& busmap, const bool& powerIsOn,
sdbusplus::asio::object_server& objServer,
- std::function<void(void)>&& callback) :
+ std::function<void()>&& callback) :
_i2cBuses(i2cBuses),
_busMap(busmap), _powerIsOn(powerIsOn), _objServer(objServer),
_callback(std::move(callback))
@@ -746,7 +746,7 @@
BusMap& _busMap;
const bool& _powerIsOn;
sdbusplus::asio::object_server& _objServer;
- std::function<void(void)> _callback;
+ std::function<void()> _callback;
};
void addFruObjectToDbus(