use const struct ref instead
This commit is contained in:
parent
eb29b79467
commit
2c730c8632
@ -81,7 +81,7 @@ class UserBase {
|
||||
* function call, it needs to be copied into another user-provided buffer.
|
||||
* @param params
|
||||
*/
|
||||
virtual void metadataRecvdIndication(MetadataRecvdParams params) = 0;
|
||||
virtual void metadataRecvdIndication(const MetadataRecvdParams& params) = 0;
|
||||
virtual void fileSegmentRecvdIndication(FileSegmentRecvdParams params) = 0;
|
||||
virtual void reportIndication(TransactionId id, StatusReportIF& report) = 0;
|
||||
virtual void suspendedIndication(TransactionId id, ConditionCode code) = 0;
|
||||
|
@ -8,7 +8,7 @@ void cfdp::UserMock::abandonedIndication(cfdp::TransactionId id, cfdp::Condition
|
||||
uint64_t progress) {}
|
||||
void cfdp::UserMock::eofRecvIndication(cfdp::TransactionId id) {}
|
||||
void cfdp::UserMock::transactionFinishedIndication(TransactionFinishedParams finishedParams) {}
|
||||
void cfdp::UserMock::metadataRecvdIndication(MetadataRecvdParams params) {}
|
||||
void cfdp::UserMock::metadataRecvdIndication(const MetadataRecvdParams& params) {}
|
||||
void cfdp::UserMock::fileSegmentRecvdIndication(FileSegmentRecvdParams params) {}
|
||||
void cfdp::UserMock::reportIndication(TransactionId id, StatusReportIF& report) {}
|
||||
void cfdp::UserMock::suspendedIndication(TransactionId id, ConditionCode code) {}
|
||||
|
@ -13,7 +13,7 @@ class UserMock : public UserBase {
|
||||
void abandonedIndication(TransactionId id, ConditionCode code, size_t progress) override;
|
||||
void eofRecvIndication(TransactionId id) override;
|
||||
void transactionFinishedIndication(TransactionFinishedParams params) override;
|
||||
void metadataRecvdIndication(MetadataRecvdParams params) override;
|
||||
void metadataRecvdIndication(const MetadataRecvdParams& params) override;
|
||||
void fileSegmentRecvdIndication(FileSegmentRecvdParams params) override;
|
||||
void reportIndication(TransactionId id, StatusReportIF& report) override;
|
||||
void suspendedIndication(TransactionId id, ConditionCode code) override;
|
||||
|
Loading…
Reference in New Issue
Block a user