Fix defaulted-function-deleted
warning error:
```
../settings.hpp:29:42: note: replace 'default' with 'delete'
29 | Objects& operator=(const Objects&) = default;
| ^~~~~~~
| delete
```
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Ib2326f58aad1b8c296668a69ac8fa165954ea942
diff --git a/settings.hpp b/settings.hpp
index 66cd3ae..a3505c3 100644
--- a/settings.hpp
+++ b/settings.hpp
@@ -26,7 +26,7 @@
*/
Objects(sdbusplus::bus_t& bus, const std::vector<Interface>& filter);
Objects(const Objects&) = default;
- Objects& operator=(const Objects&) = default;
+ Objects& operator=(const Objects&) = delete;
Objects(Objects&&) = delete;
Objects& operator=(Objects&&) = delete;
~Objects() = default;