summaryrefslogtreecommitdiff
path: root/src/generic/intern-pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/intern-pool.hpp')
-rw-r--r--src/generic/intern-pool.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/generic/intern-pool.hpp b/src/generic/intern-pool.hpp
index 69f20ef..f9c1e8f 100644
--- a/src/generic/intern-pool.hpp
+++ b/src/generic/intern-pool.hpp
@@ -29,6 +29,7 @@ public:
ZString outtern(size_t sz) const
{
+ assert (sz < names.size());
return names[sz];
}