Change-Id: I56daad7dae1bc65183f016a1a9d2d6c529b3569d
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11689
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
*
* Intentionally not explicit.
*/
- CStringView() noexcept = default;
+ constexpr CStringView() noexcept = default;
/*
* Builds a view of the C string `str` (may be `nullptr`).
*
* Intentionally not explicit.
*/
- CStringView(const char * const str) noexcept : _mStr {str}
+ constexpr CStringView(const char * const str) noexcept : _mStr {str}
{
}