util: move CFReleaser from security/tpm
CFReleaser is used by both TPM backend and NetworkMonitor.
refs #3940
Change-Id: I39222bb4dec686d9338e6c4cb71108dd67f6cca1
diff --git a/src/net/detail/network-monitor-impl-osx.hpp b/src/net/detail/network-monitor-impl-osx.hpp
index d1ce8f2..8de354c 100644
--- a/src/net/detail/network-monitor-impl-osx.hpp
+++ b/src/net/detail/network-monitor-impl-osx.hpp
@@ -29,7 +29,7 @@
#error "This file should not be compiled ..."
#endif
-#include "../../security/tpm/helper-osx.hpp"
+#include "../../util/cf-releaser-osx.hpp"
#include "../../util/scheduler.hpp"
#include "../../util/scheduler-scoped-event-id.hpp"
@@ -110,8 +110,8 @@
util::scheduler::ScopedEventId m_cfLoopEvent;
SCDynamicStoreContext m_context;
- CFReleaser<SCDynamicStoreRef> m_scStore;
- CFReleaser<CFRunLoopSourceRef> m_loopSource;
+ util::CFReleaser<SCDynamicStoreRef> m_scStore;
+ util::CFReleaser<CFRunLoopSourceRef> m_loopSource;
boost::asio::ip::udp::socket m_nullUdpSocket;
};