diff options
Diffstat (limited to 'src/FbTk/TypeAhead.hh')
-rw-r--r-- | src/FbTk/TypeAhead.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/TypeAhead.hh b/src/FbTk/TypeAhead.hh index 289587a..119e3af 100644 --- a/src/FbTk/TypeAhead.hh +++ b/src/FbTk/TypeAhead.hh | |||
@@ -72,6 +72,8 @@ public: | |||
72 | typedef std::vector < SearchResult > SearchResults; | 72 | typedef std::vector < SearchResult > SearchResults; |
73 | typedef typename Items::const_iterator ItemscIt; | 73 | typedef typename Items::const_iterator ItemscIt; |
74 | 74 | ||
75 | TypeAhead() : m_ref(0) { } | ||
76 | |||
75 | void init(Items const &items) { m_ref = &items; } | 77 | void init(Items const &items) { m_ref = &items; } |
76 | 78 | ||
77 | size_t stringSize() const { return m_searchstr.size(); } | 79 | size_t stringSize() const { return m_searchstr.size(); } |