diff options
Diffstat (limited to 'gdb/completer.h')
-rw-r--r-- | gdb/completer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/completer.h b/gdb/completer.h index d3afa5f..60b3800 100644 --- a/gdb/completer.h +++ b/gdb/completer.h @@ -393,7 +393,7 @@ public: /* True if we have any completion match recorded. */ bool have_completions () const - { return htab_elements (m_entries_hash) > 0; } + { return htab_elements (m_entries_hash.get ()) > 0; } /* Discard the current completion match list and the current LCD. */ @@ -440,7 +440,7 @@ private: will remove duplicates, and if removal of duplicates there brings the total under max_completions the user may think gdb quit searching too early. */ - htab_t m_entries_hash = NULL; + htab_up m_entries_hash; /* If non-zero, then this is the quote char that needs to be appended after completion (iff we have a unique completion). We |