Un-inline render_add_filter_popup

This commit is contained in:
blankie 2023-01-28 22:12:11 +07:00
parent f08282a5ed
commit 18551db53a
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ static inline void render_string_filter(StringFilter* filter);
static inline void render_buffer_filter(BufferFilter* filter);
static inline void render_priority_filter(PriorityFilter* filter);
static inline void render_group_filter(GroupFilter* filter);
static inline std::unique_ptr<Filter> render_add_filter_popup();
static std::unique_ptr<Filter> render_add_filter_popup();
static void update_logcat_entries(const Filters& filters,
const std::vector<LogcatEntry>& logcat_entries, std::vector<size_t>& filtered_logcat_entry_offsets);
@ -174,7 +174,7 @@ static inline void render_group_filter(GroupFilter* filter) {
}
}
static inline std::unique_ptr<Filter> render_add_filter_popup() {
static std::unique_ptr<Filter> render_add_filter_popup() {
if (ImGui::Selectable("Buffer")) {
return std::make_unique<BufferFilter>(0);
} else if (ImGui::Selectable("User")) {