summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/IODevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/IODevice.h')
-rw-r--r--Userland/Libraries/LibCore/IODevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibCore/IODevice.h b/Userland/Libraries/LibCore/IODevice.h
index 6fb3255155..d98f4ecc42 100644
--- a/Userland/Libraries/LibCore/IODevice.h
+++ b/Userland/Libraries/LibCore/IODevice.h
@@ -23,7 +23,7 @@ class LineIterator {
public:
explicit LineIterator(IODevice&, bool is_end = false);
- bool operator==(const LineIterator& other) const { return &other == this || (at_end() && other.is_end()) || (other.at_end() && is_end()); }
+ bool operator==(LineIterator const& other) const { return &other == this || (at_end() && other.is_end()) || (other.at_end() && is_end()); }
bool is_end() const { return m_is_end; }
bool at_end() const;
@@ -81,7 +81,7 @@ public:
bool eof() const { return m_eof; }
int error() const { return m_error; }
- const char* error_string() const;
+ char const* error_string() const;
bool has_error() const { return m_error != 0; }
@@ -91,7 +91,7 @@ public:
ByteBuffer read_all();
String read_line(size_t max_size = 16384);
- bool write(const u8*, int size);
+ bool write(u8 const*, int size);
bool write(StringView);
bool truncate(off_t);