summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/log.h b/src/lib/log.h
index 416f4259d..e0ecf8d71 100644
--- a/src/lib/log.h
+++ b/src/lib/log.h
@@ -53,7 +53,9 @@ public:
/** @param amount Approximate number of bytes to return; the returned value
* may be shorter or longer than this.
*/
- virtual std::string head_and_tail (int amount = 1024) const = 0;
+ virtual std::string head_and_tail (int amount = 1024) const {
+ return "";
+ }
protected: