core: (fixes #1118) Demangle EnumValue typenames for doxygen

This commit is contained in:
Gabriel Ferreira
2024-08-13 11:21:53 +02:00
parent 7a55c57c9a
commit 6729775f0f

View File

@@ -21,6 +21,7 @@
#include "attribute-accessor-helper.h"
#include "attribute.h"
#include "demangle.h"
#include <algorithm> // find_if
#include <list>
@@ -341,7 +342,7 @@ template <typename T>
std::string
EnumChecker<T>::GetValueTypeName() const
{
return "ns3::EnumValue<" + std::string(typeid(T).name()) + ">";
return "ns3::EnumValue<" + Demangle(typeid(T).name()) + ">";
}
template <typename T>