1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

changed parameters to const refs

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
Pascal Bauer 2022-12-09 12:57:32 +01:00 committed by Niklas Eiling
parent 00fa5094f9
commit 327f343924

View file

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