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

dumper: fix style for cppcheck

Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
This commit is contained in:
Manuel Pitz 2023-07-06 19:56:18 +02:00
parent 85ab9f2100
commit 7b39c92b91
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ public:
bool isActive();
int setActive();
int setPath(std::string socketPathIn);
int setPath(const std::string &socketPathIn);
void writeDataCSV(unsigned len, double *yData, double *xData = nullptr);
void writeDataBinary(unsigned len, double *yData, double *xData = nullptr);
};

View file

@ -70,7 +70,7 @@ int Dumper::closeSocket()
return 0;
}
int Dumper::setPath(std::string socketPathIn)
int Dumper::setPath(const std::string &socketPathIn)
{
socketPath = socketPathIn;
return 1;