fix(debug): remove typeid information from assertion, the names are mangled and are not very useful
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
434c33f225
commit
449454efdb
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ public:
|
|||
};
|
||||
namespace debug {
|
||||
template<typename T> void display_var(char const * name, T const & value) {
|
||||
std::cerr << name << " : " << typeid(value).name() << " := "
|
||||
// commented typeid(value).name() since the name is mangled
|
||||
std::cerr << name << /* " : " << typeid(value).name() << */ " := "
|
||||
<< std::boolalpha << value << std::noboolalpha
|
||||
<< std::endl; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue