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: provide default implementation for getDependencies()

This commit is contained in:
daniel-k 2018-01-09 11:15:59 +01:00
parent cb25861c7e
commit af234e29c6
3 changed files with 1 additions and 7 deletions

View file

@ -148,7 +148,7 @@ private:
virtual Vlnv getCompatibleVlnv() const = 0;
virtual std::string getName() const = 0;
virtual std::string getDescription() const = 0;
virtual std::list<IpDependency> getDependencies() const = 0;
virtual std::list<IpDependency> getDependencies() const { return {}; }
private:
static IpCoreFactory*

View file

@ -87,9 +87,6 @@ public:
Vlnv getCompatibleVlnv() const
{ return Vlnv("acs.eonerc.rwth-aachen.de:user:axi_pcie_intc:"); }
std::list<IpDependency> getDependencies() const
{ return {}; }
};
} // namespace ip

View file

@ -82,9 +82,6 @@ public:
Vlnv getCompatibleVlnv() const
{ return Vlnv("xilinx.com:ip:axis_interconnect:"); }
std::list<IpDependency> getDependencies() const
{ return {}; }
};
} // namespace ip