aboutsummaryrefslogtreecommitdiff
path: root/lib/nav
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-04-06 14:08:55 +0200
committerFelix Domke <tmbinc@elitedvb.net>2009-04-06 14:08:55 +0200
commit84007236ce796615a8e74432aad110164b23b8ec (patch)
tree5053dc936f63882afe3fec56342e9d5d1dc8fe76 /lib/nav
parent3e45b153a93894c4c382d3ba5ded974c738e9589 (diff)
downloadenigma2-84007236ce796615a8e74432aad110164b23b8ec.tar.gz
enigma2-84007236ce796615a8e74432aad110164b23b8ec.zip
replace assert by ASSERT, so a proper log message is generated
Diffstat (limited to 'lib/nav')
-rw-r--r--lib/nav/core.cpp6
-rw-r--r--lib/nav/pcore.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/nav/core.cpp b/lib/nav/core.cpp
index 90650f68..ad777660 100644
--- a/lib/nav/core.cpp
+++ b/lib/nav/core.cpp
@@ -26,7 +26,7 @@ RESULT eNavigation::playService(const eServiceReference &service)
{
stopService();
- assert(m_servicehandler);
+ ASSERT(m_servicehandler);
RESULT res = m_servicehandler->play(service, m_runningService);
if (m_runningService)
{
@@ -74,7 +74,7 @@ RESULT eNavigation::stopService(void)
RESULT eNavigation::recordService(const eServiceReference &ref, ePtr<iRecordableService> &service, bool simulate)
{
- assert(m_servicehandler);
+ ASSERT(m_servicehandler);
RESULT res = m_servicehandler->record(ref, service);
eDebug("record: %d", res);
if (res)
@@ -148,7 +148,7 @@ RESULT eNavigation::pause(int dop)
eNavigation::eNavigation(iServiceHandler *serviceHandler)
{
- assert(serviceHandler);
+ ASSERT(serviceHandler);
m_servicehandler = serviceHandler;
}
diff --git a/lib/nav/pcore.cpp b/lib/nav/pcore.cpp
index b38e5597..264817ce 100644
--- a/lib/nav/pcore.cpp
+++ b/lib/nav/pcore.cpp
@@ -10,7 +10,7 @@ pNavigation::pNavigation()
ePtr<iServiceHandler> service_center;
eServiceCenter::getInstance(service_center);
- assert(service_center);
+ ASSERT(service_center);
m_core = new eNavigation(service_center);
m_core->connectEvent(slot(*this, &pNavigation::navEvent), m_nav_event_connection);