summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/libraries/nacl_io/fifo_char.h
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/libraries/nacl_io/fifo_char.h')
-rw-r--r--native_client_sdk/src/libraries/nacl_io/fifo_char.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/native_client_sdk/src/libraries/nacl_io/fifo_char.h b/native_client_sdk/src/libraries/nacl_io/fifo_char.h
index 27cec2f..8f026f2 100644
--- a/native_client_sdk/src/libraries/nacl_io/fifo_char.h
+++ b/native_client_sdk/src/libraries/nacl_io/fifo_char.h
@@ -34,11 +34,11 @@ class FIFOChar : public FIFOInterface {
// Reads out the data making room in the FIFO. Returns actual amount
// read.
- size_t Read(void* buf, size_t len);
+ virtual size_t Read(void* buf, size_t len);
// Writes into the FIFO no more than len bytes, returns actual amount
// written.
- size_t Write(const void* buf, size_t len);
+ virtual size_t Write(const void* buf, size_t len);
private:
char* buffer_;