diff options
Diffstat (limited to 'utils/src/ping_client.cc')
-rwxr-xr-x | utils/src/ping_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ping_client.cc b/utils/src/ping_client.cc index 178bd8bac..c3bfa4086 100755 --- a/utils/src/ping_client.cc +++ b/utils/src/ping_client.cc @@ -403,7 +403,7 @@ int main(int argc, char *argv[]) { } } - Client *ping = new Client(c); + auto ping = std::make_unique<Client>(c); auto t0 = std::chrono::steady_clock::now(); ping->ping(); |