From 327f343924ccc3d8dcb80f629dfe5b408530b70a Mon Sep 17 00:00:00 2001 From: Pascal Bauer Date: Fri, 9 Dec 2022 12:57:32 +0100 Subject: [PATCH] changed parameters to const refs Signed-off-by: Pascal Bauer --- fpga/include/villas/fpga/core.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fpga/include/villas/fpga/core.hpp b/fpga/include/villas/fpga/core.hpp index 43c0cbe1e..9614d5f35 100644 --- a/fpga/include/villas/fpga/core.hpp +++ b/fpga/include/villas/fpga/core.hpp @@ -54,12 +54,12 @@ class InterruptController; class IpIdentifier { public: - IpIdentifier(Vlnv vlnv = Vlnv::getWildcard(), std::string name = "") : + IpIdentifier(const Vlnv &vlnv = Vlnv::getWildcard(), const std::string &name = "") : vlnv(vlnv), name(name) { } - IpIdentifier(std::string vlnvString, std::string name = "") : + IpIdentifier(const std::string &vlnvString, const std::string &name = "") : vlnv(vlnvString), name(name) { }