cpp-common/bt2c: simplify CStringView formatter
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 15 Jan 2024 21:34:29 +0000 (16:34 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 29 Jan 2024 16:38:19 +0000 (11:38 -0500)
commite64addc78a171844b6b9ca0a21dd8644521cc7da
treefc1daf81a03fba2349ad49b10d87e760d1058ca7
parent7c02951ac404947096d537eee8d29ebedb643eca
cpp-common/bt2c: simplify CStringView formatter

Use a format_as function instead of a full-fledged formatter.

Change-Id: I49a015a1c88a49cd7c4bab3ff1cbbf8cad8b6ba0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11682
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/cpp-common/bt2c/c-string-view.hpp
This page took 0.024161 seconds and 4 git commands to generate.