[nostalgia] Rename ValErr to Result
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
namespace nostalgia::core {
|
||||
|
||||
template<typename T>
|
||||
ox::ValErr<std::vector<uint8_t>> toBuffer(T *data, std::size_t buffSize = ox::units::MB) {
|
||||
ox::Result<std::vector<uint8_t>> toBuffer(T *data, std::size_t buffSize = ox::units::MB) {
|
||||
std::vector<uint8_t> buff(buffSize);
|
||||
std::size_t sz = 0;
|
||||
oxReturnError(ox::writeMC(buff.data(), buff.size(), data, &sz));
|
||||
|
||||
Reference in New Issue
Block a user