mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 06:25:46 +00:00
core: Make use of [[nodiscard]] with the System class
Given this is a central class, we should flag cases where the return value of some functions not being used is likely a bug.
This commit is contained in:
parent
afa4ced6e4
commit
637aa4ddef
4 changed files with 82 additions and 85 deletions
|
@ -632,7 +632,11 @@ const std::string& System::GetStatusDetails() const {
|
|||
return impl->status_details;
|
||||
}
|
||||
|
||||
Loader::AppLoader& System::GetAppLoader() const {
|
||||
Loader::AppLoader& System::GetAppLoader() {
|
||||
return *impl->app_loader;
|
||||
}
|
||||
|
||||
const Loader::AppLoader& System::GetAppLoader() const {
|
||||
return *impl->app_loader;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue