diff options
author | Nico Weber <thakis@chromium.org> | 2020-08-04 11:04:15 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-04 17:42:08 +0200 |
commit | d0ad82f5c0b6c31cb5fb0bd51a3647a73c33f34c (patch) | |
tree | b85b4958950aed1b294c4c0282098b9dae920238 /Libraries/LibLine/SuggestionDisplay.h | |
parent | d8b6314018b4a3f9217752dca2f421c4e598b3c8 (diff) | |
download | serenity-d0ad82f5c0b6c31cb5fb0bd51a3647a73c33f34c.zip |
LibLine: Removed unused private field m_prompt_metrics
Diffstat (limited to 'Libraries/LibLine/SuggestionDisplay.h')
-rw-r--r-- | Libraries/LibLine/SuggestionDisplay.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Libraries/LibLine/SuggestionDisplay.h b/Libraries/LibLine/SuggestionDisplay.h index 80606bc5fc..434b0ee3a2 100644 --- a/Libraries/LibLine/SuggestionDisplay.h +++ b/Libraries/LibLine/SuggestionDisplay.h @@ -62,10 +62,9 @@ protected: class XtermSuggestionDisplay : public SuggestionDisplay { public: - XtermSuggestionDisplay(size_t lines, size_t columns, const StringMetrics& prompt_metrics) + XtermSuggestionDisplay(size_t lines, size_t columns) : m_num_lines(lines) , m_num_columns(columns) - , m_prompt_metrics(prompt_metrics) { } virtual ~XtermSuggestionDisplay() override { } @@ -94,7 +93,6 @@ private: size_t m_num_lines { 0 }; size_t m_num_columns { 0 }; size_t m_prompt_lines_at_suggestion_initiation { 0 }; - const StringMetrics& m_prompt_metrics; struct PageRange { size_t start; |