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

pass constructor parameter as const ref for performance

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

View file

@ -41,7 +41,7 @@ public:
version("")
{ }
Vlnv(std::string s)
Vlnv(const std::string &s)
{
parseFromString(s);
}