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/core/hle | |
| 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/core/hle')
| -rw-r--r-- | src/core/hle/service/am/applets/web_browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cpp index d975207f5..ba2650e8b 100644 --- a/src/core/hle/service/am/applets/web_browser.cpp +++ b/src/core/hle/service/am/applets/web_browser.cpp @@ -146,7 +146,7 @@ void WebBrowser::Execute() { return; } - const auto& frontend{Core::System::GetInstance().GetWebBrowser()}; + auto& frontend{Core::System::GetInstance().GetWebBrowser()}; frontend.OpenPage(filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); } |
