Skip to content

Commit

Permalink
Use VAST_FMT_RUNTIME macro
Browse files Browse the repository at this point in the history
  • Loading branch information
lava committed May 30, 2022
1 parent 583c45e commit 0b77acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvast/src/system/partition_transformer.cpp
Expand Up @@ -137,7 +137,7 @@ void partition_transformer_state::fulfill(
if (!synopsis_chunk)
continue;
auto filename
= fmt::format(fmt::runtime(self->state.synopsis_path_template), id);
= fmt::format(VAST_FMT_RUNTIME(self->state.synopsis_path_template), id);
auto synopsis_path = std::filesystem::path{filename};
self
->request(fs, caf::infinite, atom::write_v, synopsis_path, synopsis_chunk)
Expand Down Expand Up @@ -170,7 +170,7 @@ void partition_transformer_state::fulfill(
.synopsis = std::move(synopsis),
};
auto filename
= fmt::format(fmt::runtime(self->state.partition_path_template), id);
= fmt::format(VAST_FMT_RUNTIME(self->state.partition_path_template), id);
auto partition_path = std::filesystem::path{filename};
self
->request(fs, caf::infinite, atom::write_v, partition_path,
Expand Down

0 comments on commit 0b77acf

Please sign in to comment.