whitespace changes

git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@683 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
sears 2010-03-09 20:30:39 +00:00
parent 5d533a7939
commit b298e49bad

View file

@ -8,9 +8,9 @@
#ifndef REGIONALLOCATOR_H_ #ifndef REGIONALLOCATOR_H_
#define REGIONALLOCATOR_H_ #define REGIONALLOCATOR_H_
class RegionAllocator class RegionAllocator
{ {
public: public:
// Open an existing region allocator. // Open an existing region allocator.
RegionAllocator(int xid, recordid rid) : RegionAllocator(int xid, recordid rid) :
@ -97,7 +97,7 @@
endOfRegion_ = INVALID_PAGE; endOfRegion_ = INVALID_PAGE;
} }
recordid header_rid() { return rid_; } recordid header_rid() { return rid_; }
private: private:
typedef struct { typedef struct {
recordid region_list; recordid region_list;
pageid_t region_length; pageid_t region_length;
@ -108,9 +108,9 @@
pageid_t endOfRegion_; pageid_t endOfRegion_;
pageid_t regionCount_; pageid_t regionCount_;
persistent_state header_; persistent_state header_;
public: public:
static const size_t header_size = sizeof(persistent_state); static const size_t header_size = sizeof(persistent_state);
}; };
#endif /* REGIONALLOCATOR_H_ */ #endif /* REGIONALLOCATOR_H_ */