mirror of https://gitee.com/bigwinds/arangodb
fix indentation
This commit is contained in:
parent
4efbad5378
commit
7c959cf81f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue