SHA256
modify something
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef FEATHERLOG_LOG_MESSAGE_FLAG_HPP
|
||||
#define FEATHERLOG_LOG_MESSAGE_FLAG_HPP
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <limits>
|
||||
|
||||
namespace flog
|
||||
{
|
||||
@@ -21,12 +21,11 @@ namespace flog
|
||||
_NODISCARD bool isFull() const noexcept { return flagCount >= std::numeric_limits<MessageFlag>::digits; }
|
||||
_NODISCARD bool pushable() const noexcept { return !isFull(); }
|
||||
_NODISCARD bool isEmpty() const noexcept { return flagCount == 0; }
|
||||
// _NODISCARD
|
||||
|
||||
_NODISCARD bool contains(std::string_view name) const noexcept;
|
||||
|
||||
private:
|
||||
std::array<std::string, std::numeric_limits<MessageFlag>::digits> m_flagMap{};
|
||||
size_t flagCount { 0 };
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user