mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DiscIO/DirectoryBlob: Rename the vector-reference variant of DiscContentContainer::Add() to AddReference() to make it clearer at call sites that the given vector must remain in memory.
This commit is contained in:
@ -71,7 +71,7 @@ class DiscContentContainer
|
||||
{
|
||||
public:
|
||||
template <typename T>
|
||||
void Add(u64 offset, const std::vector<T>& vector)
|
||||
void AddReference(u64 offset, const std::vector<T>& vector)
|
||||
{
|
||||
return Add(offset, vector.size() * sizeof(T), reinterpret_cast<const u8*>(vector.data()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user