mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-19 00:42:58 -05:00
Use more std::span arguments
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <ranges>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
@@ -93,7 +92,7 @@ void Volume::AddTMDToSyncHash(Common::SHA1::Context* context, const Partition& p
|
||||
AddToSyncHash(context, content);
|
||||
}
|
||||
|
||||
std::map<Language, std::string> Volume::ReadWiiNames(const std::vector<char16_t>& data)
|
||||
std::map<Language, std::string> Volume::ReadWiiNames(std::span<const char16_t> data)
|
||||
{
|
||||
std::map<Language, std::string> names;
|
||||
for (size_t i = 0; i < NUMBER_OF_LANGUAGES; ++i)
|
||||
|
||||
Reference in New Issue
Block a user