mark overrides for template struct members
This commit is contained in:
parent
00d769c22e
commit
79502361fd
|
@ -143,16 +143,16 @@ struct Block : public pdu_data
|
|||
std::shared_ptr<std::vector<std::shared_ptr<T>>> pdu
|
||||
= std::shared_ptr<std::vector<std::shared_ptr<T>>>(
|
||||
new std::vector<std::shared_ptr<T>>);
|
||||
size_t streamSize() const {
|
||||
size_t streamSize() const override {
|
||||
size_t s = 0;
|
||||
for (auto &child : *pdu)
|
||||
s += child->streamSize();
|
||||
return s;
|
||||
}
|
||||
void iStream(Stream s) { //!< you should call readBlock() directly.
|
||||
void iStream(Stream s) override { //!< you should call readBlock() directly.
|
||||
readBlock(s, nullptr);
|
||||
};
|
||||
void oStream(Stream s) const {
|
||||
void oStream(Stream s) const override {
|
||||
for ( const auto & child : *pdu )
|
||||
child->oStream(s);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue