From 7cb8d504adbe9426c8691c3455019ca5699e5c35 Mon Sep 17 00:00:00 2001 From: Markus Pilman Date: Thu, 12 Nov 2020 13:48:10 -0700 Subject: [PATCH] Make description method const Co-authored-by: Lukas Joswiak --- fdbserver/workloads/UDPWorkload.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbserver/workloads/UDPWorkload.actor.cpp b/fdbserver/workloads/UDPWorkload.actor.cpp index 69a250cf69..6878202359 100644 --- a/fdbserver/workloads/UDPWorkload.actor.cpp +++ b/fdbserver/workloads/UDPWorkload.actor.cpp @@ -60,7 +60,7 @@ struct UDPWorkload : TestWorkload { } } - virtual std::string description() { return name; } + virtual std::string description() const { return name; } ACTOR static Future _setup(UDPWorkload* self, Database cx) { state NetworkAddress localAddress(g_network->getLocalAddress().ip, deterministicRandom()->randomInt(self->minPort, self->maxPort + 1), true,