Fix some lint warnings

This commit is contained in:
Igor Canadi 2014-01-29 15:26:43 -08:00
parent fa99d53e55
commit 514e42c7cc
5 changed files with 7 additions and 5 deletions

View File

@ -11,6 +11,7 @@
#include <set>
#include <utility>
#include <vector>
#include <string>
#include "db/dbformat.h"
namespace rocksdb {

View File

@ -11,6 +11,7 @@
#include <algorithm>
#include <map>
#include <set>
#include <climits>
#include <stdio.h>
#include "db/filename.h"

View File

@ -8,6 +8,7 @@
#pragma once
#include "rocksdb/slice.h"
#include <string>
namespace rocksdb {
@ -21,11 +22,10 @@ struct ColumnFamilyHandle {
uint32_t id;
// default
ColumnFamilyHandle() : id() {}
/* implicit */
ColumnFamilyHandle(uint32_t _id) : id(_id) {}
explicit ColumnFamilyHandle(uint32_t _id) : id(_id) {}
};
const ColumnFamilyHandle default_column_family = ColumnFamilyHandle();
extern const std::string default_column_family_name;
}
} // namespace rocksdb