diff --git a/libcorpus2/tagset.cpp b/libcorpus2/tagset.cpp index 773482a04ac266551dd9c66e4c5b2564447a42f4..b732690e713d9138195fc069e13da361605377ca 100644 --- a/libcorpus2/tagset.cpp +++ b/libcorpus2/tagset.cpp @@ -288,8 +288,8 @@ Tag Tagset::make_tag(idx_t pos_idx, mask_t values, bool allow_extra) const mask_t amask = get_attribute_mask(a); if ((values & amask).none()) { throw TagParseError("Required attribute missing", - tag_to_string(Tag(get_pos_mask(pos_idx), values)), - get_attribute_name(a), id_string()); + tag_to_string(Tag(get_pos_mask(pos_idx), values)), + get_attribute_name(a), id_string()); } } }