aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2004-03-13 11:15:36 +0000
committerReuben Thomas <rrt@sc3d.org>2004-03-13 11:15:36 +0000
commitf56da5d71083fe272ab42967bed01aa7d8e577d3 (patch)
tree70c51bfa3b580d5760b1c114d69241e19adaf6fe /lib
parent4fb041b1027c9565c59b63d647efc2a7031fe6f7 (diff)
downloadplptools-f56da5d71083fe272ab42967bed01aa7d8e577d3.tar.gz
plptools-f56da5d71083fe272ab42967bed01aa7d8e577d3.tar.bz2
plptools-f56da5d71083fe272ab42967bed01aa7d8e577d3.zip
Add missing #include of <assert.h>
Diffstat (limited to 'lib')
-rw-r--r--lib/Enum.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Enum.h b/lib/Enum.h
index 11a2371..804e333 100644
--- a/lib/Enum.h
+++ b/lib/Enum.h
@@ -27,6 +27,7 @@
#include <config.h>
#endif
+#include <assert.h>
#include <map>
#include <string>
@@ -276,13 +277,13 @@ public:
* // declaration of enumeration; somewhere
* class rfsv {
* [...]
- * enum PSI_ERROR_CODES { E_PSI_GEN_NONE, E_PSI_GEN_FAIL, E_PSI_GEN_ARG };
+ * enum PSI_ERROR_CODES { E_PSI_GEN_NONE, E_PSI_GEN_FAIL, E_PSI_GEN_ARG };
* [...]
* };
*
* // definition of the Enum<E> with the appropriate string representations
* ENUM_DEFINITION(rfsv::PSI_ERROR_CODES,
- * rfsv::E_PSI_GEN_NONE) {
+ * rfsv::E_PSI_GEN_NONE) {
* stringRep.add(rfsv::E_PSI_GEN_NONE, "no error");
* stringRep.add(rfsv::E_PSI_GEN_FAIL, "general");
* stringRep.add(rfsv::E_PSI_GEN_ARG, "bad argument");