treewide: Codify memory pinning
This enforces movability constraints.
Change-Id: I49dbd43a791c1d70eb7e97f30708231c053901d9
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/test_network_manager.hpp b/test/test_network_manager.hpp
index eaf853b..68d5088 100644
--- a/test/test_network_manager.hpp
+++ b/test/test_network_manager.hpp
@@ -32,7 +32,8 @@
struct TestManager : TestManagerData, Manager
{
- inline TestManager(sdbusplus::bus_t& bus, stdplus::zstring_view path,
+ inline TestManager(stdplus::PinnedRef<sdbusplus::bus_t> bus,
+ stdplus::zstring_view path,
const std::filesystem::path& dir) :
Manager(bus, reloadForManager(), path, dir)
{