mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-01 23:26:03 +00:00
DiscIO/VolumeVerifier: Take std::string by value in AddProblem()
This allows both std::moving into the function and moving the parameter from within the function, potentially avoiding an unnecessary copy.
This commit is contained in:
parent
a1f77fd14b
commit
0ccaa2b5d6
2 changed files with 18 additions and 18 deletions
|
@ -90,7 +90,7 @@ private:
|
|||
void CheckPartitions();
|
||||
bool CheckPartition(const Partition& partition); // Returns false if partition should be ignored
|
||||
std::string GetPartitionName(std::optional<u32> type) const;
|
||||
void CheckCorrectlySigned(const Partition& partition, const std::string& error_text);
|
||||
void CheckCorrectlySigned(const Partition& partition, std::string error_text);
|
||||
bool IsDebugSigned() const;
|
||||
bool ShouldHaveChannelPartition() const;
|
||||
bool ShouldHaveInstallPartition() const;
|
||||
|
@ -103,7 +103,7 @@ private:
|
|||
void SetUpHashing();
|
||||
bool CheckContentIntegrity(const IOS::ES::Content& content);
|
||||
|
||||
void AddProblem(Severity severity, const std::string& text);
|
||||
void AddProblem(Severity severity, std::string text);
|
||||
|
||||
const Volume& m_volume;
|
||||
Result m_result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue