mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
chore(Core/Misc): Change all TODO to doxygen comment (#14966)
This commit is contained in:
@@ -339,7 +339,7 @@ void Log::Close()
|
||||
|
||||
bool Log::ShouldLog(std::string const& type, LogLevel level) const
|
||||
{
|
||||
// TODO: Use cache to store "Type.sub1.sub2": "Type" equivalence, should
|
||||
/// @todo: Use cache to store "Type.sub1.sub2": "Type" equivalence, should
|
||||
// Speed up in cases where requesting "Type.sub1.sub2" but only configured
|
||||
// Logger "Type"
|
||||
|
||||
|
||||
@@ -322,7 +322,7 @@ std::string Metric::FormatInfluxDBValue(float value)
|
||||
|
||||
std::string Metric::FormatInfluxDBTagValue(std::string const& value)
|
||||
{
|
||||
// ToDo: should handle '=' and ',' characters too
|
||||
/// @todo: should handle '=' and ',' characters too
|
||||
return boost::replace_all_copy(value, " ", "\\ ");
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ private:
|
||||
|
||||
static std::string FormatInfluxDBTagValue(std::string const& value);
|
||||
|
||||
// ToDo: should format TagKey and FieldKey too in the same way as TagValue
|
||||
/// @todo: should format TagKey and FieldKey too in the same way as TagValue
|
||||
|
||||
public:
|
||||
Metric();
|
||||
|
||||
@@ -194,7 +194,7 @@ namespace Acore::Impl::StringConvertImpl
|
||||
}
|
||||
};
|
||||
#else
|
||||
// @todo replace this once libc++ supports double args to from_chars
|
||||
/// @todo replace this once libc++ supports double args to from_chars
|
||||
template <typename T>
|
||||
struct For<T, std::enable_if_t<std::is_floating_point_v<T>>>
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
namespace advstd
|
||||
{
|
||||
// This workaround for std::remove_cvref_t, std::type_identify is needed for GCC 8...
|
||||
// TODO: remove when we drop GCC 8 support. https://en.cppreference.com/w/cpp/compiler_support/20
|
||||
/// @todo: remove when we drop GCC 8 support. https://en.cppreference.com/w/cpp/compiler_support/20
|
||||
// C++20 advstd::remove_cvref_t
|
||||
template <class T>
|
||||
using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
|
||||
|
||||
Reference in New Issue
Block a user