diff options
author | Lioncash <mathew1800@gmail.com> | 2019-01-17 11:19:44 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-01-17 11:19:52 -0500 |
commit | a661025637f301013d9da781e67334853162c6b3 (patch) | |
tree | 5ff229c5ba29aef84c1e87f940952704aeae05b7 /src/yuzu/applets/web_browser.cpp | |
parent | 66978a772da04e438571cdd98529c736663817ee (diff) |
core/frontend/applets/web_browser: Make OpenPage() non-const
This is a function that definitely doesn't always have a non-modifying
behavior across all implementations, so this should be made non-const.
This gets rid of the need to mark data members as mutable to work around
the fact mutating data members needs to occur.
Diffstat (limited to 'src/yuzu/applets/web_browser.cpp')
-rw-r--r-- | src/yuzu/applets/web_browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/applets/web_browser.cpp b/src/yuzu/applets/web_browser.cpp index b801d38fe..6a9138d53 100644 --- a/src/yuzu/applets/web_browser.cpp +++ b/src/yuzu/applets/web_browser.cpp @@ -86,7 +86,7 @@ QtWebBrowser::QtWebBrowser(GMainWindow& main_window) { QtWebBrowser::~QtWebBrowser() = default; void QtWebBrowser::OpenPage(std::string_view url, std::function<void()> unpack_romfs_callback, - std::function<void()> finished_callback) const { + std::function<void()> finished_callback) { this->unpack_romfs_callback = std::move(unpack_romfs_callback); this->finished_callback = std::move(finished_callback); |