diff --git a/Userland/Applications/Assistant/Providers.h b/Userland/Applications/Assistant/Providers.h index 3444a5e801..cef555dceb 100644 --- a/Userland/Applications/Assistant/Providers.h +++ b/Userland/Applications/Assistant/Providers.h @@ -52,7 +52,7 @@ private: class AppResult final : public Result { public: - AppResult(RefPtr bitmap, DeprecatedString title, DeprecatedString tooltip, NonnullRefPtr af, DeprecatedString arguments, int score) + AppResult(RefPtr bitmap, DeprecatedString title, DeprecatedString tooltip, NonnullRefPtr af, DeprecatedString arguments, int score) : Result(move(title), move(tooltip), score) , m_app_file(move(af)) , m_arguments(move(arguments)) @@ -67,7 +67,7 @@ public: private: NonnullRefPtr m_app_file; DeprecatedString m_arguments; - RefPtr m_bitmap; + RefPtr m_bitmap; }; class CalculatorResult final : public Result { @@ -83,7 +83,7 @@ public: virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; } private: - RefPtr m_bitmap; + RefPtr m_bitmap; }; class FileResult final : public Result { @@ -111,7 +111,7 @@ public: virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; } private: - RefPtr m_bitmap; + RefPtr m_bitmap; }; class URLResult final : public Result { @@ -127,7 +127,7 @@ public: virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; } private: - RefPtr m_bitmap; + RefPtr m_bitmap; }; class Provider : public RefCounted { diff --git a/Userland/Applications/Assistant/main.cpp b/Userland/Applications/Assistant/main.cpp index 8f7287217f..83a928c9c5 100644 --- a/Userland/Applications/Assistant/main.cpp +++ b/Userland/Applications/Assistant/main.cpp @@ -36,7 +36,7 @@ namespace Assistant { struct AppState { Optional selected_index; - NonnullRefPtrVector results; + NonnullRefPtrVector results; size_t visible_result_count { 0 }; Threading::Mutex lock; @@ -84,7 +84,7 @@ public: { } - Function)> on_new_results; + Function)> on_new_results; void search(DeprecatedString const& query) { @@ -121,7 +121,7 @@ private: // NonnullRefPtrVector will provide dual_pivot_quick_sort references rather than pointers, // and dual_pivot_quick_sort requires being able to construct the underlying type on the // stack. Assistant::Result is pure virtual, thus cannot be constructed on the stack. - Vector> all_results; + Vector> all_results; for (auto const& results_for_provider : new_results->value) { if (results_for_provider == nullptr) continue;