From af234e29c6d7c3ac23bc73f3cf7be08064a5b5a8 Mon Sep 17 00:00:00 2001 From: daniel-k Date: Tue, 9 Jan 2018 11:15:59 +0100 Subject: [PATCH] lib/ip: provide default implementation for getDependencies() --- fpga/include/villas/fpga/ip.hpp | 2 +- fpga/include/villas/fpga/ips/intc.hpp | 3 --- fpga/include/villas/fpga/ips/switch.hpp | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/fpga/include/villas/fpga/ip.hpp b/fpga/include/villas/fpga/ip.hpp index ee1b0e99c..191cf4e56 100644 --- a/fpga/include/villas/fpga/ip.hpp +++ b/fpga/include/villas/fpga/ip.hpp @@ -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 getDependencies() const = 0; + virtual std::list getDependencies() const { return {}; } private: static IpCoreFactory* diff --git a/fpga/include/villas/fpga/ips/intc.hpp b/fpga/include/villas/fpga/ips/intc.hpp index fe7e20f32..919f7ab08 100644 --- a/fpga/include/villas/fpga/ips/intc.hpp +++ b/fpga/include/villas/fpga/ips/intc.hpp @@ -87,9 +87,6 @@ public: Vlnv getCompatibleVlnv() const { return Vlnv("acs.eonerc.rwth-aachen.de:user:axi_pcie_intc:"); } - - std::list getDependencies() const - { return {}; } }; } // namespace ip diff --git a/fpga/include/villas/fpga/ips/switch.hpp b/fpga/include/villas/fpga/ips/switch.hpp index bc1fbd7c8..1d5e08877 100644 --- a/fpga/include/villas/fpga/ips/switch.hpp +++ b/fpga/include/villas/fpga/ips/switch.hpp @@ -82,9 +82,6 @@ public: Vlnv getCompatibleVlnv() const { return Vlnv("xilinx.com:ip:axis_interconnect:"); } - - std::list getDependencies() const - { return {}; } }; } // namespace ip