updated minor memory management to avoid text corruption
This commit is contained in:
parent
4e547635d8
commit
9c413c0edd
6 changed files with 17 additions and 15 deletions
|
@ -8,7 +8,7 @@ using json = nlohmann::json;
|
|||
namespace gns {
|
||||
|
||||
|
||||
GnsServer::GnsServer(const std::string &host, const std::uint16_t port) {
|
||||
GnsServer::GnsServer(const std::string& host, const std::uint16_t port) {
|
||||
this->host = host;
|
||||
this->port = port;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue