This is unused, and I think it will never be. If we need something like
this, it will likely be in the form of a `format_as` function used by
the `{fmt}` library.
Change-Id: I81e21d697f6b246c986c5c9126b1177a0d5bcb03
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11759
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
cpp-common/bt2c/endian.hpp \
cpp-common/bt2c/exc.hpp \
cpp-common/bt2c/glib-up.hpp \
- cpp-common/bt2c/lib-str.hpp \
cpp-common/bt2c/libc-up.hpp \
cpp-common/bt2c/logging.hpp \
cpp-common/bt2c/prio-heap.hpp \
+++ /dev/null
-/*
- * Copyright (c) 2022 EfficiOS, Inc.
- *
- * SPDX-License-Identifier: MIT
- */
-
-#ifndef BABELTRACE_CPP_COMMON_BT2C_LIB_STR_HPP
-#define BABELTRACE_CPP_COMMON_BT2C_LIB_STR_HPP
-
-#include "cpp-common/bt2/message.hpp"
-
-namespace bt2c {
-
-static inline const char *messageTypeStr(const bt2::MessageType type)
-{
- return bt_common_message_type_string(static_cast<bt_message_type>(type));
-}
-
-} /* namespace bt2c */
-
-#endif /* BABELTRACE_CPP_COMMON_BT2C_LIB_STR_HPP */