base-hw: fix bug in 'Platform_thread::pager()'

This commit is contained in:
Martin Stein 2013-02-05 15:38:06 +01:00 committed by Norman Feske
parent 0a2e8909ee
commit 02fccf5cb2
2 changed files with 3 additions and 6 deletions

View File

@ -151,7 +151,7 @@ namespace Genode {
void pager(Pager_object * const pager);
Pager_object * pager() const;
Pager_object * pager();
unsigned pd_id() const { return _pd_id; }

View File

@ -160,9 +160,6 @@ void Platform_thread::pager(Pager_object * const pager)
}
Genode::Pager_object * Platform_thread::pager() const
{
assert(_rm_client)
return static_cast<Pager_object *>(_rm_client);
}
Genode::Pager_object * Platform_thread::pager() {
return _rm_client ? static_cast<Pager_object *>(_rm_client) : 0; }