Commit ce08a7a9 authored by Max Kellermann's avatar Max Kellermann

TagItem: disable the copy constructor/operator

This is not a C++ class and must not be copied.
parent 5d5f21bf
......@@ -36,6 +36,10 @@ struct TagItem {
* the value of this tag; this is a variable length string
*/
char value[sizeof(long)];
TagItem() = default;
TagItem(const TagItem &other) = delete;
TagItem &operator=(const TagItem &other) = delete;
} gcc_packed;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment