diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2022-03-28 08:58:04 +0300 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2022-03-28 08:58:04 +0300 |
| commit | 27ebfb3b3c43f82c39eb3a47080285ecc035b05e (patch) | |
| tree | 6700cf8e85f01972e516223af0913f67646676d6 /guile | |
| parent | 5a28cdfba4743d9d771fc5ee432ce23ca834b38a (diff) | |
lib+guile: use Mu::Option, not std::optional
We need the extensions, and/or let's use _one_ optional implementation everywhere.
Diffstat (limited to 'guile')
| -rw-r--r-- | guile/mu-guile-message.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guile/mu-guile-message.cc b/guile/mu-guile-message.cc index 640d643..3918b2b 100644 --- a/guile/mu-guile-message.cc +++ b/guile/mu-guile-message.cc @@ -213,7 +213,7 @@ SCM_DEFINE(get_field, #undef FUNC_NAME static SCM -contacts_to_list(MuMsg *msg, std::optional<Field::Id> field_id) +contacts_to_list(MuMsg *msg, Option<Field::Id> field_id) { SCM list{SCM_EOL}; @@ -252,7 +252,7 @@ SCM_DEFINE(get_contacts, if (CONTACT_TYPE == SCM_BOOL_F) return SCM_UNSPECIFIED; /* nothing to do */ - std::optional<Field::Id> field_id; + Option<Field::Id> field_id; if (CONTACT_TYPE == SCM_BOOL_T) field_id = {}; /* get all */ else { |
