diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dbus_singleton.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/dbus_singleton.hpp b/include/dbus_singleton.hpp index 9fe966f565..63c88b7544 100644 --- a/include/dbus_singleton.hpp +++ b/include/dbus_singleton.hpp @@ -1,18 +1,5 @@ #pragma once -#include <iostream> #include <sdbusplus/asio/connection.hpp> -#include <sdbusplus/message/types.hpp> -#include <type_traits> - -namespace mapbox -{ -template <typename T, typename... Types> -const T* getPtr(const sdbusplus::message::variant<Types...>& v) -{ - namespace variant_ns = sdbusplus::message::variant_ns; - return variant_ns::get_if<std::remove_const_t<T>, Types...>(&v); -} -} // namespace mapbox namespace crow { |