Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
rockeet committed Jan 28, 2023
1 parent 949bb8b commit 66235f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions db/dbformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,15 +495,15 @@ class IterKey {
buf_ = p;
buf_size_ = total_size;
}
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
memcpy(buf() + shared_len, non_shared_data, non_shared_len);
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
key_ = buf();
key_size_ = total_size;
}
Expand Down

0 comments on commit 66235f6

Please sign in to comment.