Skip to content

Commit

Permalink
Update Printable.h
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel86 authored Sep 8, 2024
1 parent 6d09e72 commit 9ab7f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/knowrob/Printable.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace knowrob {
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }

auto format(knowrob::Printable& p, format_context& ctx) const {
return fmt::format_to(ctx.out(), "{}", p.format());
return fmt::format_to(std::back_inserter(ctx.out()), "{}", p.format());
}
};

Expand Down

0 comments on commit 9ab7f8a

Please sign in to comment.