From c963460dbc9221fd7538616c2fa5a1257939952d Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Tue, 3 Jan 2017 15:42:54 -0800 Subject: [PATCH] Fix tests under GCC_481 Summary: This fix the issue with tests failing under GCC 481, I am not sure what is the exact reason Closes https://github.com/facebook/rocksdb/pull/1735 Differential Revision: D4374094 Pulled By: IslamAbdelRahman fbshipit-source-id: b3625bc --- db/db_test_util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/db/db_test_util.h b/db/db_test_util.h index ad2b23d4c..316f487b8 100644 --- a/db/db_test_util.h +++ b/db/db_test_util.h @@ -833,10 +833,10 @@ class DBTestBase : public testing::Test { std::vector ListTableFiles(Env* env, const std::string& path); - void VerifyDBFromMap(std::map true_data, - size_t* total_reads_res = nullptr, - bool tailing_iter = false, - std::map status = {}); + void VerifyDBFromMap( + std::map true_data, + size_t* total_reads_res = nullptr, bool tailing_iter = false, + std::map status = std::map()); void VerifyDBInternal( std::vector> true_data);