| 880 | } |
| 881 | |
| 882 | Message Connection::getCurrentlyProcessedMessage() const |
| 883 | { |
| 884 | auto* sdbusMsg = sdbus_->sd_bus_get_current_message(bus_.get()); |
| 885 | |
| 886 | // TODO: const_cast..? Finish the const correctness design |
| 887 | // NOLINTNEXTLINE(cppcoreguidelines-pro-type-const-cast) |
| 888 | return Message::Factory::create<Message>(sdbusMsg, const_cast<Connection*>(this)); |
| 889 | } |
| 890 | |
| 891 | template <typename StringBasedType> |
| 892 | std::vector</*const */char*> Connection::to_strv(const std::vector<StringBasedType>& strings) |
nothing calls this directly
no test coverage detected