make Attached_ram_dataspace::local_addr const
This commit is contained in:
parent
4b4ba30498
commit
a1effc5ad8
|
@ -116,7 +116,7 @@ namespace Genode {
|
||||||
* untyped memory anyway.
|
* untyped memory anyway.
|
||||||
*/
|
*/
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T *local_addr() { return static_cast<T *>(_local_addr); }
|
T *local_addr() const { return static_cast<T *>(_local_addr); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return size
|
* Return size
|
||||||
|
|
Loading…
Reference in New Issue
Block a user