Make description method const

Co-authored-by: Lukas Joswiak <lukas.joswiak@snowflake.com>
This commit is contained in:
Markus Pilman 2020-11-12 13:48:10 -07:00 committed by GitHub
parent 438be4edd5
commit 7cb8d504ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {
state NetworkAddress localAddress(g_network->getLocalAddress().ip,
deterministicRandom()->randomInt(self->minPort, self->maxPort + 1), true,