message: updates for new sexp
Update for API changes.
This commit is contained in:
@ -186,8 +186,8 @@ struct Field {
|
||||
*
|
||||
*/
|
||||
|
||||
constexpr char xapian_prefix() const
|
||||
{ /* xapian uses uppercase shortcuts; toupper is not constexpr */
|
||||
constexpr char xapian_prefix() const {
|
||||
/* xapian uses uppercase shortcuts; toupper is not constexpr */
|
||||
return shortcut == 0 ? 0 : shortcut - ('a' - 'A');
|
||||
}
|
||||
|
||||
@ -542,5 +542,6 @@ Option<Field> field_from_number(size_t id)
|
||||
return field_from_id(static_cast<Field::Id>(id));
|
||||
}
|
||||
|
||||
|
||||
} // namespace Mu
|
||||
#endif /* MU_FIELDS_HH__ */
|
||||
|
||||
Reference in New Issue
Block a user