diff options
author | 2014-01-15 15:27:06 +0100 | |
---|---|---|
committer | 2014-01-15 15:27:06 +0100 | |
commit | 213e9070446b60c9e6ad7140a6063cd957f241e4 (patch) | |
tree | 84020202d4daa8df2db3b2533e8963217bb46c49 /complete.h | |
parent | c8d5131a42b8117987d2a278d69edb21a7cf9383 (diff) | |
parent | 370b47d23f3cfde3e385c2268adb95229f0f7ed7 (diff) |
Merge remote-tracking branch 'upstream/master' into bind_mode
Conflicts:
builtin.cpp
reader.cpp
share/functions/fish_default_key_bindings.fish
Diffstat (limited to 'complete.h')
-rw-r--r-- | complete.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -121,10 +121,10 @@ public: The COMPLETE_NO_CASE can be used to signal that this completion is case insensitive. */ - int flags; + complete_flags_t flags; /* Construction. Note: defining these so that they are not inlined reduces the executable size. */ - completion_t(const wcstring &comp, const wcstring &desc = L"", string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact), int flags_val = 0); + completion_t(const wcstring &comp, const wcstring &desc = wcstring(), string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact), complete_flags_t flags_val = 0); completion_t(const completion_t &); completion_t &operator=(const completion_t &); @@ -268,7 +268,7 @@ void complete_load(const wcstring &cmd, bool reload); \param flags completion flags */ -void append_completion(std::vector<completion_t> &completions, const wcstring &comp, const wcstring &desc = L"", int flags = 0, string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact)); +void append_completion(std::vector<completion_t> &completions, const wcstring &comp, const wcstring &desc = wcstring(), int flags = 0, string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact)); /* Function used for testing */ void complete_set_variable_names(const wcstring_list_t *names); |