Un-inline render_add_filter_popup
This commit is contained in:
parent
f08282a5ed
commit
18551db53a
|
@ -10,7 +10,7 @@ static inline void render_string_filter(StringFilter* filter);
|
||||||
static inline void render_buffer_filter(BufferFilter* filter);
|
static inline void render_buffer_filter(BufferFilter* filter);
|
||||||
static inline void render_priority_filter(PriorityFilter* filter);
|
static inline void render_priority_filter(PriorityFilter* filter);
|
||||||
static inline void render_group_filter(GroupFilter* 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,
|
static void update_logcat_entries(const Filters& filters,
|
||||||
const std::vector<LogcatEntry>& logcat_entries, std::vector<size_t>& filtered_logcat_entry_offsets);
|
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")) {
|
if (ImGui::Selectable("Buffer")) {
|
||||||
return std::make_unique<BufferFilter>(0);
|
return std::make_unique<BufferFilter>(0);
|
||||||
} else if (ImGui::Selectable("User")) {
|
} else if (ImGui::Selectable("User")) {
|
||||||
|
|
Loading…
Reference in New Issue