mirror of https://gitee.com/bigwinds/arangodb
added reserve()
This commit is contained in:
parent
b591706484
commit
1af98f40fb
|
@ -177,6 +177,9 @@ LogfileManager::LogfileManager (TRI_server_t* server,
|
||||||
if (res != 0) {
|
if (res != 0) {
|
||||||
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "could not compile regex");
|
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "could not compile regex");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_transactions.reserve(32);
|
||||||
|
_failedTransactions.reserve(32);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue