diff --git a/.pkg.lock b/.pkg.lock index e226f583..16c65745 100644 --- a/.pkg.lock +++ b/.pkg.lock @@ -1,5 +1,5 @@ -14235113949304861054 -cista f52a62c4d83377acd398227ab4fcd6c946bdbd70 +139770128757021168 +cista 48210e6925658163952e458a4d13629ffdb0cea3 PEGTL 1c1aa6e650e4d26f10fa398f148ec0cdc5f0808d res b759b93316afeb529b6cb5b2548b24c41e382fb0 date ce88cc33b5551f66655614eeebb7c5b7189025fb diff --git a/exe/benchmark.cc b/exe/benchmark.cc index 12ad2096..5f02f4f5 100644 --- a/exe/benchmark.cc +++ b/exe/benchmark.cc @@ -421,8 +421,7 @@ int main(int argc, char* argv[]) { bpo::notify(vm); std::cout << "loading timetable...\n"; - auto tt = *nigiri::timetable::read(cista::memory_holder{ - cista::file{tt_path.generic_string().c_str(), "r"}.content()}); + auto tt = *nigiri::timetable::read(tt_path); tt.locations_.resolve_timezones(); gs.interval_size_ = duration_t{interval_size};