projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add 'comment' argument to SENF_ASSERT
[senf.git]
/
senf
/
Utils
/
TypeIdValue.cci
diff --git
a/senf/Utils/TypeIdValue.cci
b/senf/Utils/TypeIdValue.cci
index
e11e44b
..
8ce9622
100644
(file)
--- a/
senf/Utils/TypeIdValue.cci
+++ b/
senf/Utils/TypeIdValue.cci
@@
-67,7
+67,8
@@
prefix_ std::string senf::TypeIdValue::prettyName()
prefix_ std::type_info const & senf::TypeIdValue::id()
const
{
- SENF_ASSERT(p_);
+ SENF_ASSERT(
+ p_, "Internal failure: Empty TypeIdValue should have p_ point to typeid(void) not 0");
return *p_;
}