Fix build.
authorCarl Hetherington <cth@carlh.net>
Tue, 28 Apr 2020 00:05:17 +0000 (02:05 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 28 Apr 2020 00:05:17 +0000 (02:05 +0200)
src/lib/log.h

index 416f4259d248399ed88cbff3f7d682ba2e3c0bf9..e0ecf8d717ef1b2ce1254b3d76c88349ccd6b4ba 100644 (file)
@@ -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: