summaryrefslogtreecommitdiff
path: root/src/misc/array.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/array.hpp')
-rw-r--r--src/misc/array.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc/array.hpp b/src/misc/array.hpp
index 3434ca21f..5eae3e488 100644
--- a/src/misc/array.hpp
+++ b/src/misc/array.hpp
@@ -76,6 +76,10 @@ public:
return item;
}
+ /**
+ * Helper for creating a human readable output of this data.
+ * @param dmp The location to dump to.
+ */
template <typename D> void Dump(D &dmp) const
{
dmp.WriteLine("capacity = %d", Tcapacity);