]> git.cworth.org Git - apitrace/blobdiff - trace_snappyfile.cpp
Reset the container after deleting all the elements.
[apitrace] / trace_snappyfile.cpp
index 28ee4eb5999f2ce53196f511ae7ea852ae79c512..a3481838dd1b23fd02cf4bd248780a156b8b9eb0 100644 (file)
@@ -181,11 +181,9 @@ void SnappyFile::rawClose()
     m_cachePtr = NULL;
 }
 
-void SnappyFile::rawFlush(FlushType type)
+void SnappyFile::rawFlush()
 {
-    if (type == FlushDeep) {
-        flushCache();
-    }
+    flushCache();
     m_stream.flush();
 }