summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-01-19 18:57:09 +0100
committerGitHub <noreply@github.com>2019-01-19 18:57:09 +0100
commit83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc (patch)
tree65215c941489aaeb4df24bc913545c7e4a03b50c /src/core/frontend/applets
parentMerge pull request #2033 from ReinUsesLisp/fixup-clip-warning (diff)
parentcore/frontend/applets/web_browser: Include missing headers (diff)
downloadyuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.gz
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.bz2
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.lz
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.xz
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.zst
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.zip
Diffstat (limited to 'src/core/frontend/applets')
-rw-r--r--src/core/frontend/applets/web_browser.cpp2
-rw-r--r--src/core/frontend/applets/web_browser.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/frontend/applets/web_browser.cpp b/src/core/frontend/applets/web_browser.cpp
index 6a36b4b8f..3a3d3d0bf 100644
--- a/src/core/frontend/applets/web_browser.cpp
+++ b/src/core/frontend/applets/web_browser.cpp
@@ -13,7 +13,7 @@ DefaultWebBrowserApplet::~DefaultWebBrowserApplet() = default;
void DefaultWebBrowserApplet::OpenPage(std::string_view filename,
std::function<void()> unpack_romfs_callback,
- std::function<void()> finished_callback) const {
+ std::function<void()> finished_callback) {
LOG_INFO(Service_AM,
"(STUBBED) called - No suitable web browser implementation found to open website page "
"at '{}'!",
diff --git a/src/core/frontend/applets/web_browser.h b/src/core/frontend/applets/web_browser.h
index 41d272d26..f952856af 100644
--- a/src/core/frontend/applets/web_browser.h
+++ b/src/core/frontend/applets/web_browser.h
@@ -14,7 +14,7 @@ public:
virtual ~WebBrowserApplet();
virtual void OpenPage(std::string_view url, std::function<void()> unpack_romfs_callback,
- std::function<void()> finished_callback) const = 0;
+ std::function<void()> finished_callback) = 0;
};
class DefaultWebBrowserApplet final : public WebBrowserApplet {
@@ -22,7 +22,7 @@ public:
~DefaultWebBrowserApplet() override;
void OpenPage(std::string_view url, std::function<void()> unpack_romfs_callback,
- std::function<void()> finished_callback) const override;
+ std::function<void()> finished_callback) override;
};
} // namespace Core::Frontend