mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-09-24 20:02:43 -05:00
- use const auto& where possible
- avoid using const std::unique_ptr& and const std::shared_ptr& - avoid wrapping results in std::optional - prefer std::string_view over const std::string& - update FSUtils::LoadFileToMem to write into std::vector<uint8_t> - use std::span when possible - Avoid unnessecary copies in PluginDataFactory - allocate plugins as HeapMemoryFixedSize which bascially is a std::unique_ptr with fixed size
This commit is contained in:
@@ -57,8 +57,8 @@ public:
|
||||
return name;
|
||||
}
|
||||
|
||||
[[nodiscard]] const std::shared_ptr<ImportRPLInformation> &getImportRPLInformation() const {
|
||||
return rplInfo;
|
||||
[[nodiscard]] const ImportRPLInformation &getImportRPLInformation() const {
|
||||
return *rplInfo;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user