Skip to content

Commit cd8ffc8

Browse files
Update of PR #266 - Disable copy ctor and &operator in erpc_transport_arbitrator.hpp
1 parent 60a3cc1 commit cd8ffc8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

erpc_c/infra/erpc_transport_arbitrator.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ class TransportArbitrator : public Transport
185185
* @param[in] list Pending client list to remove.
186186
*/
187187
void freeClientList(PendingClientInfo *list);
188+
189+
private:
190+
// Disable copy ctor.
191+
TransportArbitrator(const TransportArbitrator &other); /*!< Disable copy ctor. */
192+
TransportArbitrator &operator=(const TransportArbitrator &other); /*!< Disable copy ctor. */
188193
};
189194

190195
} // namespace erpc

0 commit comments

Comments
 (0)