Add clang-tidy file
This commit implements a clang-tidy file, and makes
some changes to get it to pass.
Most changes are naming or mechanical in nature.
Tested:
CI passed in docker.
Change-Id: I1f9acf546542c839b8f9facb5b8beff37c0d5909
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/settings.hpp b/settings.hpp
index f45c910..b7e18bf 100644
--- a/settings.hpp
+++ b/settings.hpp
@@ -24,19 +24,16 @@
*
* @param[in] bus - The D-bus bus object
*/
+ explicit Objects(sdbusplus::bus_t& /*bus*/);
Objects() = delete;
- explicit Objects(sdbusplus::bus_t&);
Objects(const Objects&) = delete;
Objects& operator=(const Objects&) = delete;
Objects(Objects&&) = default;
- Objects& operator=(Objects&&) = default;
+ Objects& operator=(Objects&&) = delete;
~Objects() = default;
/** @brief time sync method settings object */
Path timeSyncMethod;
-
- private:
- sdbusplus::bus_t& bus;
};
} // namespace settings