summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tag.h5
-rw-r--r--include/tag_list.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/include/tag.h b/include/tag.h
index 4b547e013c..58b99c082c 100644
--- a/include/tag.h
+++ b/include/tag.h
@@ -76,7 +76,10 @@ public:
*/
virtual tag& assign(tag&& rhs) = 0;
- ///Reads the tag's payload from the stream
+ /**
+ * @brief Reads the tag's payload from the stream
+ * @throw io::stream_reader::input_error on failure
+ */
virtual void read_payload(io::stream_reader& reader) = 0;
/**
diff --git a/include/tag_list.h b/include/tag_list.h
index 324d2de6d8..dff89c4fcc 100644
--- a/include/tag_list.h
+++ b/include/tag_list.h
@@ -158,6 +158,10 @@ public:
const_iterator cbegin() const;
const_iterator cend() const;
+ /**
+ * @inheritdoc
+ * In case of a list of tag_end, the content type will be undetermined.
+ */
void read_payload(io::stream_reader& reader) override;
/**