Make description method const
Co-authored-by: Lukas Joswiak <lukas.joswiak@snowflake.com>
This commit is contained in:
parent
438be4edd5
commit
7cb8d504ad
|
@ -60,7 +60,7 @@ struct UDPWorkload : TestWorkload {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual std::string description() { return name; }
|
virtual std::string description() const { return name; }
|
||||||
ACTOR static Future<Void> _setup(UDPWorkload* self, Database cx) {
|
ACTOR static Future<Void> _setup(UDPWorkload* self, Database cx) {
|
||||||
state NetworkAddress localAddress(g_network->getLocalAddress().ip,
|
state NetworkAddress localAddress(g_network->getLocalAddress().ip,
|
||||||
deterministicRandom()->randomInt(self->minPort, self->maxPort + 1), true,
|
deterministicRandom()->randomInt(self->minPort, self->maxPort + 1), true,
|
||||||
|
|
Loading…
Reference in New Issue