aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-02-16 21:09:37 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-02-16 21:09:37 +0100
commit4f763163081130c6df8fbe1aa2e4e025addf2348 (patch)
treeb6e83f6ff32c5d559b95ac288b9530a5ff16e0fd
parentfb5cbcc5d4b4528728140783ab9bf4d39484a739 (diff)
lout: provide default initAlloc in SimpleVector constructor
-rw-r--r--lout/misc.hh2
1 files changed, 1 insertions, 1 deletions
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;