1
0
Fork 0
This commit is contained in:
jsteemann 2016-05-05 00:24:44 +02:00
parent 231acbbde2
commit ec7e6d0279
3 changed files with 3 additions and 5 deletions

View File

@ -56,8 +56,7 @@ public:
template<TASKS T>
class Task {
Task (const VPackSlice& config) {
}
explicit Task (const VPackSlice& config) {}
ServerID _serverID;
std::string _endpoint;
};

View File

@ -155,7 +155,6 @@ TRI_doc_mptr_t* RocksDBIterator::next() {
if (res < 0) {
if (_reverse) {
return nullptr;
_cursor->Prev();
} else {
_cursor->Next();
}

View File

@ -76,8 +76,8 @@ static bool IsMarker28 (void const* marker) {
off_t o = offsetof(Marker28, _crc);
size_t n = sizeof(TRI_voc_crc_t);
char const* ptr = (char const*) marker;
Marker28 const* m = (Marker28 const*) marker;
char const* ptr = static_cast<char const*>(marker);
Marker28 const* m = static_cast<Marker28 const*>(marker);
TRI_voc_crc_t crc = TRI_InitialCrc32();