1
0
Fork 0
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:
Daniel Krebs 2018-02-13 19:56:29 +01:00
parent e8ef3e4380
commit 5d99f11a34
2 changed files with 2 additions and 8 deletions

View file

@ -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;

View file

@ -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
{