added missing const specifier
This commit is contained in:
parent
672fca5169
commit
0e8f5ddd26
@ -21,7 +21,7 @@ SpacePacketReader::~SpacePacketReader() = default;
|
|||||||
|
|
||||||
inline uint16_t SpacePacketReader::getPacketIdRaw() const { return ccsds::getPacketId(*spHeader); }
|
inline uint16_t SpacePacketReader::getPacketIdRaw() const { return ccsds::getPacketId(*spHeader); }
|
||||||
|
|
||||||
const uint8_t* SpacePacketReader::getPacketData() { return packetDataField; }
|
const uint8_t* SpacePacketReader::getPacketData() const { return packetDataField; }
|
||||||
|
|
||||||
ReturnValue_t SpacePacketReader::setData(uint8_t* data, size_t maxSize_, void* args) {
|
ReturnValue_t SpacePacketReader::setData(uint8_t* data, size_t maxSize_, void* args) {
|
||||||
return setInternalFields(data, maxSize_);
|
return setInternalFields(data, maxSize_);
|
||||||
|
@ -71,7 +71,7 @@ class SpacePacketReader : public SpacePacketIF,
|
|||||||
// Helper methods:
|
// Helper methods:
|
||||||
[[nodiscard]] ReturnValue_t checkSize() const;
|
[[nodiscard]] ReturnValue_t checkSize() const;
|
||||||
|
|
||||||
const uint8_t* getPacketData();
|
const uint8_t* getPacketData() const;
|
||||||
|
|
||||||
ReturnValue_t setReadOnlyData(const uint8_t* data, size_t maxSize);
|
ReturnValue_t setReadOnlyData(const uint8_t* data, size_t maxSize);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user