From 7cce01c40746c3e9925c1ecb4474b025bf2f9c1c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 29 Apr 2018 19:41:12 +0100 Subject: C++17 and Ice 3.7 Updates all components to be C++17 and Ice 3.7 --- p2pvr/devices/frontend.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'p2pvr/devices/frontend.cpp') diff --git a/p2pvr/devices/frontend.cpp b/p2pvr/devices/frontend.cpp index 1026a20..b1def01 100644 --- a/p2pvr/devices/frontend.cpp +++ b/p2pvr/devices/frontend.cpp @@ -4,6 +4,8 @@ #include #include +using namespace IceTray::Logging; + namespace P2PVR { namespace DVB { Frontend::Frontend(TunerI * t, const struct dvb_frontend_info & i, IceTray::Logging::LoggerPtr log) : @@ -28,7 +30,7 @@ Frontend::GetStatus() const { fe_status_t status; if (ioctl(tuner->frontendFD, FE_READ_STATUS, &status) < 0) { - logger->messagebf(LOG::ERR, "Reading frontend %s status failed (%s:%d)", tuner->GetDevice(), strerror(errno), errno); + logger->messagebf(LogLevel::ERR, "Reading frontend %s status failed (%s:%d)", tuner->GetDevice(), strerror(errno), errno); throw P2PVR::DeviceError(tuner->GetDevice(), strerror(errno), errno); } return status; -- cgit v1.2.3