Replace gsl::span for std::span (c++20) (#7531)
* Replace gsl::span for std::span (c++20) * Replace gsl::byte with std::byte Co-authored-by: Bevan Weiss <bevan.weiss@gmail.com>
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
|
||||
#include "Utilities/StrUtil.h"
|
||||
#include "Utilities/lockless.h"
|
||||
#include "Utilities/span.h"
|
||||
|
||||
#include <span>
|
||||
|
||||
LOG_CHANNEL(cellSysutil);
|
||||
|
||||
@@ -385,7 +386,7 @@ error_code cellSysutilGetSystemParamString(CellSysutilParamId id, vm::ptr<char>
|
||||
cellSysutil.error("cellSysutilGetSystemParamString: Unknown ParamId 0x%x", id);
|
||||
}
|
||||
|
||||
gsl::span dst(buf.get_ptr(), copy_size);
|
||||
std::span dst(buf.get_ptr(), copy_size);
|
||||
strcpy_trunc(dst, param_str);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user