Skip to content

Commit

Permalink
env.h: static constexpr size_t kDoNotSupportGetLogFileSize = SIZE_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
rockeet committed Jan 4, 2024
1 parent 81b6296 commit e91093d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rocksdb/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ enum InfoLogLevel : unsigned char {
// including data loss, unreported corruption, deadlocks, and more.
class Logger {
public:
size_t kDoNotSupportGetLogFileSize = (std::numeric_limits<size_t>::max)();
static constexpr size_t kDoNotSupportGetLogFileSize = SIZE_MAX;

explicit Logger(const InfoLogLevel log_level = InfoLogLevel::INFO_LEVEL)
: closed_(false), log_level_(log_level) {}
Expand Down

0 comments on commit e91093d

Please sign in to comment.