8000 fixed more obvious compile errors · mnemosdev/arangodb@4486f89 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4486f89

Browse files
committed
fixed more obvious compile errors
1 parent 4d13acf commit 4486f89

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arangod/VocBase/vocbase.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ std::shared_ptr<arangodb::LogicalCollection> TRI_vocbase_t::lookupCollection(
10241024
#else
10251025
auto dataSource = lookupDataSource(id);
10261026
1027-
return dataSource.category() == LogicalCollection::category()
1027+
return dataSource->category() == LogicalCollection::category()
10281028
? std::static_pointer_cast<LogicalCollection>(dataSource) : nullptr;
10291029
#endif
10301030
}
@@ -1040,7 +1040,7 @@ std::shared_ptr<arangodb::LogicalCollection> TRI_vocbase_t::lookupCollection(
10401040
#else
10411041
auto dataSource = lookupDataSource(nameOrId);
10421042

1043-
return dataSource.category() == LogicalCollection::category()
1043+
return dataSource->category() == LogicalCollection::category()
10441044
? std::static_pointer_cast<LogicalCollection>(dataSource) : nullptr;
10451045
#endif
10461046
}
@@ -1060,9 +1060,9 @@ std::shared_ptr<arangodb::LogicalCollection> TRI_vocbase_t::lookupCollectionByUu
10601060
;
10611061
#else
10621062
return itr == _dataSourceByUuid.end()
1063-
|| dataSource.category() != LogicalCollection::category()
1063+
|| itr->second->category() != LogicalCollection::category()
10641064
? nullptr
1065-
: std::static_pointer_cast<LogicalCollection>(dataSource)
1065+
: std::static_pointer_cast<LogicalCollection>(itr->second);
10661066
#endif
10671067
}
10681068

@@ -2072,4 +2072,4 @@ TRI_voc_rid_t TRI_StringToRid(char const* p, size_t len, bool& isOld,
20722072

20732073
// -----------------------------------------------------------------------------
20742074
// --SECTION-- END-OF-FILE
2075-
// -----------------------------------------------------------------------------
2075+
// -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)
0