]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/zlibcompressed.cpp
Make certain functions pure virtual so I won't forget to implement them
[libs/core.git] / source / io / zlibcompressed.cpp
index ffb08c5b80a2212d03d1b6d4f152dfa0a2733406..99ae7f81f8845016e73e92d60f13083e7e672ee6 100644 (file)
@@ -113,6 +113,11 @@ ZlibCompressed::~ZlibCompressed()
        delete priv;
 }
 
+void ZlibCompressed::set_block(bool)
+{
+       throw logic_error("ZlibCompressed::set_block");
+}
+
 void ZlibCompressed::flush()
 {
 #ifdef WITH_ZLIB
@@ -268,5 +273,10 @@ unsigned ZlibCompressed::do_read(char *data, unsigned size)
        return processed;
 }
 
+const Handle &ZlibCompressed::get_handle(Mode)
+{
+       throw logic_error("ZlibCompressed::get_handle");
+}
+
 } // namespace IO
 } // namespace Msp