constify OpBase and friends

This commit is contained in:
Michael Davidsaver
2023-01-26 10:52:53 -08:00
parent 78f54455e6
commit f75bcc5044
6 changed files with 63 additions and 53 deletions
+3 -6
View File
@@ -62,13 +62,10 @@ struct ServerIntrospectControl : public server::ConnectOp
ServerIntrospectControl(ServerConn *conn, ServerChan *chan,
const std::weak_ptr<server::Server::Pvt>& server,
const std::weak_ptr<ServerIntrospect>& op)
:server(server)
:server::ConnectOp(chan->name, conn->cred, Info, Value()) // TODO: pvRequest?
,server(server)
,op(op)
{
_op = Info;
_name = chan->name;
_cred = conn->cred;
}
{}
virtual ~ServerIntrospectControl() {
error("Implicit Cancel");
}