fixes
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
@ -26,9 +26,9 @@
|
||||
|
||||
namespace repertory::utils {
|
||||
struct result final {
|
||||
std::string_view function_name;
|
||||
bool ok{false};
|
||||
std::string reason{};
|
||||
std::string function_name;
|
||||
bool ok{true};
|
||||
std::string reason{"success"};
|
||||
|
||||
[[nodiscard]] operator bool() const { return ok; }
|
||||
};
|
||||
|
@ -41,8 +41,7 @@ convert_to_uint64(const thread_t *thread_ptr) -> std::uint64_t;
|
||||
|
||||
[[nodiscard]] auto get_thread_id() -> std::uint64_t;
|
||||
|
||||
[[nodiscard]] auto is_uid_member_of_group(const uid_t &uid,
|
||||
const gid_t &gid) -> bool;
|
||||
[[nodiscard]] auto is_uid_member_of_group(uid_t uid, gid_t gid) -> bool;
|
||||
|
||||
void set_last_error_code(int error_code);
|
||||
|
||||
|
Reference in New Issue
Block a user