cpp-common/bt2c: add `Uuid::Uuid(bt2c::CStringView)`
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 29 Feb 2024 19:17:18 +0000 (14:17 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Mar 2024 18:56:36 +0000 (14:56 -0400)
commit82d339d7e94fbbc086a9a91623088bcd247f16a6
treee9152630555136abe6bd9f814f8438ba0b6e5e91
parent72ff0d991279c51d053d528e1c011b526c9419f6
cpp-common/bt2c: add `Uuid::Uuid(bt2c::CStringView)`

Add a `Uuid` constructor that takes `bt2c::CStringView` and remove those
that take a `const char *` and `const std::string &`.  The implicit
conversions to `bt2c::CStringView` should be able to handle all those
types.

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