fix build for optimized case
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 25 Sep 2006 19:02:13 +0200
changeset 95 deaf3193d9dc
parent 94 6aabc116c7c7
child 99 c45bdf4d9b37
fix build for optimized case
src/common/tags.cc
--- a/src/common/tags.cc	Mon Sep 25 18:55:23 2006 +0200
+++ b/src/common/tags.cc	Mon Sep 25 19:02:13 2006 +0200
@@ -49,8 +49,8 @@
 		uid++;
 	}
 	// someone asked for a uid for an unregistered uuid.
-	bool tried_to_use_unregistered_tag = false;
-	assert (tried_to_use_unregistered_tag);
+	assert ("You tried to use unregistered tag: make sure you create an "
+			"instance of type TagRegistration<YouTagType>.");
 	// quiet compiler
 	return 0;
 }