Skip to content

Commit

Permalink
fix compilation in non-maintainer-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteemann committed Sep 8, 2017
1 parent e62d0a3 commit cf66414
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arangod/Graph/EdgeDocumentToken.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ struct EdgeDocumentToken {

EdgeDocumentToken(TRI_voc_cid_t const cid,
DocumentIdentifierToken const token) noexcept : _data(cid, token) {
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
_type = EdgeDocumentToken::TokenType::LOCAL;
#endif
}

EdgeDocumentToken(arangodb::velocypack::Slice const& edge) noexcept : _data(edge) {
Expand Down

0 comments on commit cf66414

Please sign in to comment.