mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
lib/ip: move definition of getBaseAddr() back to header
This is a one-liner, so IMO increases readability.
This commit is contained in:
parent
e8ef3e4380
commit
5d99f11a34
2 changed files with 2 additions and 8 deletions
|
@ -177,7 +177,8 @@ public:
|
|||
|
||||
protected:
|
||||
uintptr_t
|
||||
getBaseAddr(const std::string& block) const;
|
||||
getBaseAddr(const std::string& block) const
|
||||
{ return getLocalAddr(block, 0); }
|
||||
|
||||
uintptr_t
|
||||
getLocalAddr(const std::string& block, uintptr_t address) const;
|
||||
|
|
|
@ -328,13 +328,6 @@ IpCoreFactory::lookup(const Vlnv &vlnv)
|
|||
}
|
||||
|
||||
|
||||
uintptr_t
|
||||
IpCore::getBaseAddr(const std::string& block) const
|
||||
{
|
||||
return getLocalAddr(block, 0);
|
||||
}
|
||||
|
||||
|
||||
uintptr_t
|
||||
IpCore::getLocalAddr(const std::string& block, uintptr_t address) const
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue