diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-28 02:05:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-28 02:05:17 +0200 |
| commit | 27522823a54e240b58fa4f104e84d40167f576c2 (patch) | |
| tree | c0b3f995baba6f996b155a9808f82eac9a66e73d | |
| parent | 463496994d770577ff1e1ea6e7b1e4addb4252b2 (diff) | |
Fix build.
| -rw-r--r-- | src/lib/log.h | 4 |
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: |
