make sure we return a correct uid from ChunkRegistry::GetUidFromUidString

This commit is contained in:
Mathieu Lacage
2007-08-04 16:06:38 +02:00
parent fc7802ea0f
commit 7d5a47afe9

View File

@@ -48,6 +48,7 @@ ChunkRegistry::GetUidFromUidString (std::string uidString)
{
return uid;
}
uid++;
}
NS_FATAL_ERROR ("Trying to access a non-registered Header or Trailer: \"" << uidString << "\". "<<
"You could try calling NS_HEADER_ENSURE_REGISTER somewhere.");