summaryrefslogtreecommitdiffstats
path: root/utils/src/ping_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/ping_client.cc')
-rwxr-xr-xutils/src/ping_client.cc2
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();