mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Fix std::basic_string warnings (#16261)
This commit is contained in:
parent
2262ac1684
commit
2b0f786b2d
22 changed files with 147 additions and 130 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include <span>
|
||||
#include "np_structs_extra.h"
|
||||
|
||||
LOG_CHANNEL(sceNp);
|
||||
|
|
@ -39,7 +40,7 @@ namespace extra_nps
|
|||
|
||||
if (ptr && size)
|
||||
{
|
||||
sceNp2.warning("Data: %s", std::basic_string_view<u8>{ptr.get_ptr(), size});
|
||||
sceNp2.warning("Data: %s", std::span<u8>{ptr.get_ptr(), size});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -57,7 +58,7 @@ namespace extra_nps
|
|||
|
||||
void print_SceNpMatching2PresenceOptionData(const SceNpMatching2PresenceOptionData* opt)
|
||||
{
|
||||
sceNp2.warning("Data: %s", std::basic_string_view<u8>{std::data(opt->data), std::size(opt->data)});
|
||||
sceNp2.warning("Data: %s", std::span<const u8>{std::data(opt->data), std::size(opt->data)});
|
||||
}
|
||||
|
||||
void print_range(const SceNpMatching2Range* range)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue