Skip to content

Commit

Permalink
fix ubuntu 20 compile
Browse files Browse the repository at this point in the history
  • Loading branch information
j-berman committed Sep 9, 2024
1 parent f2783c5 commit 2b3775f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit_tests/unit_tests_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ namespace unit_test
const std::string dest_path = m_temp_db_dir + temp_db_path.string();
CHECK_AND_ASSERT_THROW_MES(boost::filesystem::create_directories(dest_path),
"failed to create new db dirs");
CHECK_AND_ASSERT_THROW_MES(boost::filesystem::copy_file(lmdb_data_path, dest_path + "/data.mdb"),
"failed to copy db data");
boost::filesystem::copy_file(lmdb_data_path, dest_path + "/data.mdb");

// Open db copy
BlockchainLMDBTest *copy_db = new BlockchainLMDBTest(true/*is_copy*/);
Expand Down

0 comments on commit 2b3775f

Please sign in to comment.