diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/mod-package-version-details.cxx | 4 | ||||
-rw-r--r-- | mod/page.cxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index 68d43de..e271c45 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -385,7 +385,9 @@ handle (request& rq, response& rs) if (&ra != &ras[0]) s << " | "; - s << ra; + assert (ra.size () == 1); // @@ DEP + + s << ra[0]; } s << ~SPAN diff --git a/mod/page.cxx b/mod/page.cxx index af9c795..fb6ba90 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -553,7 +553,9 @@ namespace brep if (&ra != &ras[0]) s << " | "; - s << ra; + assert (ra.size () == 1); // @@ DEP + + s << ra[0]; } if (mult) |