Return distinctive error messages as symbols instead of a generic one

This commit is contained in:
Christophe Bedard 2019-07-04 11:21:33 +02:00
parent 8722a4a0f9
commit 6e58ffc372
2 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ const char * get_symbol(std::function<T(U...)> f)
return _demangle_symbol(f.target_type().name());
#else
(void)f;
return SYMBOL_UNKNOWN;
return "DISABLED__get_symbol";
#endif
}