mirror of https://gitee.com/bigwinds/arangodb
add std:: (#9115)
This commit is contained in:
parent
318e19b952
commit
b442f3f6ec
|
@ -94,7 +94,7 @@ void BindParameters::stripCollectionNames(VPackSlice const& keys,
|
||||||
// key begins with collection name + '/', now strip it in place for
|
// key begins with collection name + '/', now strip it in place for
|
||||||
// further comparisons
|
// further comparisons
|
||||||
result.add(VPackValue(
|
result.add(VPackValue(
|
||||||
std::string(p + 1, static_cast<size_t>(l - static_cast<ptrdiff_t>(p - s) - 1))));
|
std::string(p + 1, static_cast<size_t>(l - static_cast<std::ptrdiff_t>(p - s) - 1))));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#ifndef ARANGOD_MMFILES_MMFILES_DATAFILE_H
|
#ifndef ARANGOD_MMFILES_MMFILES_DATAFILE_H
|
||||||
#define ARANGOD_MMFILES_MMFILES_DATAFILE_H 1
|
#define ARANGOD_MMFILES_MMFILES_DATAFILE_H 1
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
|
@ -546,4 +547,4 @@ arangodb::Result TRI_IterateDatafile(MMFilesDatafile*,
|
||||||
bool TRI_IterateDatafile(MMFilesDatafile*,
|
bool TRI_IterateDatafile(MMFilesDatafile*,
|
||||||
std::function<bool(MMFilesMarker const*, MMFilesDatafile*)> const& cb);
|
std::function<bool(MMFilesMarker const*, MMFilesDatafile*)> const& cb);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue