reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -20,7 +20,7 @@ namespace oceanbase {
namespace share {
class ObFakePartitionKey {
public:
public:
uint64_t table_id_;
int64_t partition_id_;
inline int64_t hash() const
@ -34,7 +34,7 @@ class ObFakePartitionKey {
};
class ObFakePartitionLocationCache : public ObPartitionLocationCache {
public:
public:
ObFakePartitionLocationCache(ObILocationFetcher& location_fetcher);
virtual ~ObFakePartitionLocationCache();
@ -44,7 +44,7 @@ class ObFakePartitionLocationCache : public ObPartitionLocationCache {
int add_location(ObFakePartitionKey key, ObPartitionLocation location);
private:
private:
common::hash::ObHashMap<ObFakePartitionKey, ObPartitionLocation> partition_loc_map_;
DISALLOW_COPY_AND_ASSIGN(ObFakePartitionLocationCache);
};