From 4f763163081130c6df8fbe1aa2e4e025addf2348 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 16 Feb 2014 21:09:37 +0100 Subject: lout: provide default initAlloc in SimpleVector constructor --- lout/misc.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lout/misc.hh') diff --git a/lout/misc.hh b/lout/misc.hh index 0fcb914a..6a04c89a 100644 --- a/lout/misc.hh +++ b/lout/misc.hh @@ -92,7 +92,7 @@ private: } public: - inline SimpleVector (int initAlloc) + inline SimpleVector (int initAlloc = 1) { this->num = 0; this->numAlloc = initAlloc; -- cgit v1.2.3