updated minor memory management to avoid text corruption

This commit is contained in:
faraphel 2024-12-23 10:44:06 +01:00
parent 4e547635d8
commit 9c413c0edd
6 changed files with 17 additions and 15 deletions

View file

@ -18,7 +18,7 @@ class GnsProject;
*/
class GnsNode {
public:
GnsNode(const GnsProject* project, std::string uuid, const std::vector<GnsPort>& ports);
GnsNode(const GnsProject* project, const std::string& uuid, const std::vector<GnsPort>& ports);
/**
* Get the base URL for the node API