Skip to content

Commit

Permalink
Remove unnecessary default value of file handle
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Aug 4, 2024
1 parent 367baad commit 852d97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/filehandle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ enum struct PermissionFlag : std::uint16_t {

class FileHandle {
protected:
handle_t mHandle{ -1 };
handle_t mHandle; // NOLINT(*-non-private-member-variables-in-classes)

explicit FileHandle( const fs::path& filePath, OpenFlags openFlags, PermissionFlag permissionFlag );

Expand Down

0 comments on commit 852d97a

Please sign in to comment.