aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
Diffstat (limited to 'kapi')
-rw-r--r--kapi/kapi/filesystem/block_special_file.hpp2
-rw-r--r--kapi/kapi/filesystem/character_special_file.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kapi/kapi/filesystem/block_special_file.hpp b/kapi/kapi/filesystem/block_special_file.hpp
index ada1edf2..7b06f058 100644
--- a/kapi/kapi/filesystem/block_special_file.hpp
+++ b/kapi/kapi/filesystem/block_special_file.hpp
@@ -30,7 +30,7 @@ namespace kapi::filesystem
//! @param block_index The number of the block to read from.
//! @param buffer The buffer to read into.
//! @return The number of bytes read on success, an error otherwise.
- [[nodiscard]] auto virtual read_block(size_t block_index, std::span<std::byte> buffer) const
+ [[nodiscard]] auto virtual read_block(size_t block_index, std::span<std::byte> buffer)
-> kstd::result<kstd::units::bytes> = 0;
//! Write data from a buffer into a block.
diff --git a/kapi/kapi/filesystem/character_special_file.hpp b/kapi/kapi/filesystem/character_special_file.hpp
index 28bba0b9..a2608489 100644
--- a/kapi/kapi/filesystem/character_special_file.hpp
+++ b/kapi/kapi/filesystem/character_special_file.hpp
@@ -25,7 +25,7 @@ namespace kapi::filesystem
//!
//! @param buffer The buffer to read into.
//! @return The number of bytes read on success, an error otherwise.
- [[nodiscard]] auto virtual read(std::span<std::byte> buffer) const -> kstd::result<kstd::units::bytes> = 0;
+ [[nodiscard]] auto virtual read(std::span<std::byte> buffer) -> kstd::result<kstd::units::bytes> = 0;
//! Write data from a buffer into the stream.
//!