Skip to content

Commit

Permalink
Fix compilation errors w/ Ubuntu 23.10
Browse files Browse the repository at this point in the history
+ some minor doc fixes
  • Loading branch information
tomflynn committed Oct 18, 2023
1 parent b194065 commit 4d60187
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion agent-ovs/lib/include/opflexagent/PrometheusManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ class AgentPrometheusManager : private PrometheusManager {
* Create MoDBCounts metric family if its not present.
* Update MoDBCounts metric family if its already present
*
* @param counts contains total number of object counts
* @param pCounts contains total number of object counts
* in MoDB per object type
*/
void addNUpdateMoDBCounts(shared_ptr<ModbCounts> pCounts);
Expand Down
1 change: 0 additions & 1 deletion agent-ovs/ovs/include/SpanRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ class SpanRenderer : public SpanListener,
/**
* deletes mirror session
* @param[in] sessionName name of session
* @return true if success, false otherwise.
*/
void deleteMirror(const string& sessionName);

Expand Down
1 change: 1 addition & 0 deletions agent-ovs/ovs/include/SwitchConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <mutex>
#include <chrono>
#include <atomic>
#include <string>


struct vconn;
Expand Down
2 changes: 1 addition & 1 deletion libopflex/engine/OpflexPEHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void OpflexPEHandler::ready() {
<< "Handshake succeeded";

setState(READY);
getProcessor()->connectionReady(getConnection());
getProcessor()->connectionReady((OpflexConnection*)getConnection());
}

static bool validateProxyAddress(const Value &val,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class OpflexHandler : public opflex::jsonrpc::JsonRpcHandler {
*/
virtual ~OpflexHandler() {}

virtual OpflexConnection* getConnection() const { return (OpflexConnection*)conn; }

// *************************
// Protocol Message Handlers
// *************************
Expand Down
1 change: 1 addition & 0 deletions libopflex/include/opflex/rpc/JsonRpcConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#ifndef RPC_JSONRPCCONNECTION_H
#define RPC_JSONRPCCONNECTION_H

#include <list>
#include <mutex>
#include <boost/noncopyable.hpp>

Expand Down

0 comments on commit 4d60187

Please sign in to comment.