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:
parent
85ab9f2100
commit
7b39c92b91
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue