summaryrefslogtreecommitdiff
path: root/Kernel/DoubleBuffer.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-21 02:10:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-21 02:10:45 +0100
commitec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8 (patch)
tree797d0ec90846ece3c658d55f1507585c85d0b91f /Kernel/DoubleBuffer.h
parent89040cdc99d56e0a1a80b972db18d231c155ace0 (diff)
downloadserenity-ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8.zip
Yet another pass of style fixes.
Diffstat (limited to 'Kernel/DoubleBuffer.h')
-rw-r--r--Kernel/DoubleBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/DoubleBuffer.h b/Kernel/DoubleBuffer.h
index 46e0e56da3..b14b9431ce 100644
--- a/Kernel/DoubleBuffer.h
+++ b/Kernel/DoubleBuffer.h
@@ -14,7 +14,7 @@ public:
ssize_t write(const byte*, size_t);
ssize_t read(byte*, size_t);
- bool is_empty() const { return m_read_buffer_index >= m_read_buffer->size() && m_write_buffer->isEmpty(); }
+ bool is_empty() const { return m_read_buffer_index >= m_read_buffer->size() && m_write_buffer->is_empty(); }
private:
void flip();