Merge pull request #1149 from npwoods/hash_assert

Adding an assert()
This commit is contained in:
Vas Crabb 2016-07-27 22:02:31 +10:00 committed by GitHub
commit d061b1ddb3

View File

@ -279,6 +279,8 @@ std::string hash_collection::attribute_string() const
bool hash_collection::from_internal_string(const char *string)
{
assert(string != nullptr);
// start fresh
reset();