mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-31 01:20:40 +08:00
comment out serialize.cc example in CMakeLists as it requires Cereal.
This commit is contained in:
Vendored
+1
-1
@@ -124,7 +124,7 @@ if (PHMAP_BUILD_EXAMPLES)
|
||||
add_executable(ex_basic examples/basic.cc phmap.natvis)
|
||||
add_executable(ex_bench examples/bench.cc phmap.natvis)
|
||||
add_executable(ex_emplace examples/emplace.cc phmap.natvis)
|
||||
add_executable(ex_serialize examples/serialize.cc phmap.natvis)
|
||||
# add_executable(ex_serialize examples/serialize.cc phmap.natvis)
|
||||
add_executable(ex_hash_std examples/hash_std.cc phmap.natvis)
|
||||
add_executable(ex_hash_value examples/hash_value.cc phmap.natvis)
|
||||
add_executable(ex_two_files examples/f1.cc examples/f2.cc phmap.natvis)
|
||||
|
||||
@@ -51,11 +51,6 @@ int main()
|
||||
// -----------------------
|
||||
showtime("serialize", [&table]() {
|
||||
ofstream os("z:\out.cereal", ios::binary);
|
||||
#if 0
|
||||
const unsigned int length = 8192;
|
||||
char buffer[length];
|
||||
os.rdbuf()->pubsetbuf(buffer, length);
|
||||
#endif
|
||||
cereal::BinaryOutputArchive archive(os);
|
||||
archive(table.size());
|
||||
archive(table);
|
||||
|
||||
Reference in New Issue
Block a user