[nostalgia] Rename ValErr to Result

This commit is contained in:
2020-10-16 19:43:17 -05:00
parent 6b720042d0
commit 5587ecf5e5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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));