[ox/fs] Add new FileStore write
This commit is contained in:
2
deps/ox/src/ox/std/string.hpp
vendored
2
deps/ox/src/ox/std/string.hpp
vendored
@@ -18,7 +18,7 @@ namespace ox {
|
||||
template<std::size_t buffLen>
|
||||
class BString {
|
||||
private:
|
||||
uint8_t m_buff[buffLen];
|
||||
uint8_t m_buff[buffLen + 1];
|
||||
|
||||
public:
|
||||
BString() noexcept;
|
||||
|
4
deps/ox/src/ox/std/types.hpp
vendored
4
deps/ox/src/ox/std/types.hpp
vendored
@@ -61,9 +61,7 @@ struct ValErr {
|
||||
|
||||
inline constexpr ValErr() = default;
|
||||
|
||||
inline constexpr ValErr(T value, Error error = 0) {
|
||||
this->value = value;
|
||||
this->error = error;
|
||||
inline constexpr ValErr(T value, Error error = 0): value(value), error(error) {
|
||||
}
|
||||
|
||||
inline constexpr operator const T&() const {
|
||||
|
Reference in New Issue
Block a user