1
0
Fork 0

fix indentation

This commit is contained in:
jsteemann 2017-05-15 09:30:38 +02:00
parent 4efbad5378
commit 7c959cf81f
1 changed files with 7 additions and 8 deletions

View File

@ -94,12 +94,12 @@ RocksDBEdgeIndexIterator::~RocksDBEdgeIndexIterator() {
}
StringRef getFromToFromIterator(arangodb::velocypack::ArrayIterator const& it){
VPackSlice fromTo = it.value();
if (fromTo.isObject()) {
fromTo = fromTo.get(StaticStrings::IndexEq);
}
TRI_ASSERT(fromTo.isString());
return StringRef(fromTo);
VPackSlice fromTo = it.value();
if (fromTo.isObject()) {
fromTo = fromTo.get(StaticStrings::IndexEq);
}
TRI_ASSERT(fromTo.isString());
return StringRef(fromTo);
}
bool RocksDBEdgeIndexIterator::next(TokenCallback const& cb, size_t limit) {
@ -283,8 +283,7 @@ RocksDBEdgeIndex::RocksDBEdgeIndex(TRI_idx_iid_t iid,
,basics::VelocyPackHelper::stringUInt64(info, "objectId")
,!ServerState::instance()->isCoordinator() // useCache
)
, _directionAttr(attr)
{
, _directionAttr(attr) {
TRI_ASSERT(iid != 0);
TRI_ASSERT(_objectId != 0);
// if we never hit the assertions we need to remove the