mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 07:02:46 +08:00
Add noexcept to completion_t definitions as well as declarations
This is required if we want to compile with exceptions enabled (which we currently do not).
This commit is contained in:
parent
1aa0dfe91b
commit
89f5ae3e6a
|
@ -214,9 +214,9 @@ completion_t::completion_t(wcstring comp, wcstring desc, string_fuzzy_match_t ma
|
|||
flags(resolve_auto_space(completion, flags_val)) {}
|
||||
|
||||
completion_t::completion_t(const completion_t &) = default;
|
||||
completion_t::completion_t(completion_t &&) = default;
|
||||
completion_t::completion_t(completion_t &&) noexcept = default;
|
||||
completion_t &completion_t::operator=(const completion_t &) = default;
|
||||
completion_t &completion_t::operator=(completion_t &&) = default;
|
||||
completion_t &completion_t::operator=(completion_t &&) noexcept = default;
|
||||
completion_t::~completion_t() = default;
|
||||
|
||||
__attribute__((always_inline)) static inline bool natural_compare_completions(
|
||||
|
|
Loading…
Reference in New Issue
Block a user