Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <[email protected]>
  • Loading branch information
JaySon-Huang committed Jan 7, 2025
1 parent 92b36b1 commit 2dbf453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/Storages/Page/Page.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct FieldOffsetInsidePage
bool operator<(const FieldOffsetInsidePage & rhs) const { return index < rhs.index; }
};

struct Page
class Page
{
public:
static Page invalidPage()
Expand All @@ -69,7 +69,7 @@ struct Page
std::set<FieldOffsetInsidePage> field_offsets;

private:
bool is_valid;
bool is_valid = false;

public:
inline bool isValid() const { return is_valid; }
Expand Down

0 comments on commit 2dbf453

Please sign in to comment.