From 06cdce1e1231fb5946ac9750f9b53b53c6f7e5f8 Mon Sep 17 00:00:00 2001 From: proller Date: Fri, 2 Aug 2013 00:51:36 +0400 Subject: Weather backward compatibility --- src/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test.cpp') diff --git a/src/test.cpp b/src/test.cpp index 7753e1d5f..fa7a82428 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -612,7 +612,7 @@ struct TestCompress: public TestBase fromdata[3]=1; std::ostringstream os(std::ios_base::binary); - compress(fromdata, os, SER_FMT_VER_HIGHEST); + compress(fromdata, os, SER_FMT_VER_HIGHEST_READ); std::string str_out = os.str(); @@ -627,7 +627,7 @@ struct TestCompress: public TestBase std::istringstream is(str_out, std::ios_base::binary); std::ostringstream os2(std::ios_base::binary); - decompress(is, os2, SER_FMT_VER_HIGHEST); + decompress(is, os2, SER_FMT_VER_HIGHEST_READ); std::string str_out2 = os2.str(); infostream<<"decompress: "; -- cgit v1.2.3