From ace56097fd178f43cee1398efe001860440157ea Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Fri, 4 Jul 2014 16:56:19 +0800 Subject: [PATCH] Fixes compilation error. --- test/unittest/writertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/writertest.cpp b/test/unittest/writertest.cpp index 1025f9f..d189fa1 100644 --- a/test/unittest/writertest.cpp +++ b/test/unittest/writertest.cpp @@ -132,7 +132,7 @@ public: Ch Peek() const { assert(false); return '\0'; } Ch Take() { assert(false); return '\0'; } - size_t Tell() const { } + size_t Tell() const { return 0; } Ch* PutBegin() { assert(false); return 0; } void Put(Ch c) { os_.put(c); }