mirror of
https://github.com/mfontanini/libtins
synced 2026-01-30 13:34:27 +01:00
PDU::matches_response is now const.
This commit is contained in:
@@ -326,7 +326,9 @@ namespace Tins {
|
||||
* \param ptr The pointer to the buffer.
|
||||
* \param total_sz The size of the buffer.
|
||||
*/
|
||||
virtual bool matches_response(uint8_t *ptr, uint32_t total_sz) { return false; }
|
||||
virtual bool matches_response(const uint8_t *ptr, uint32_t total_sz) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Check wether this PDU matches the specified flag.
|
||||
|
||||
Reference in New Issue
Block a user