Skip to content

Commit cb571c4

Browse files
committed
// NOLINT(*-explicit-constructor)
1 parent d2abd44 commit cb571c4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/native_handle.ixx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@ export namespace essence {
6666
*/
6767
template <typename U>
6868
requires std::is_pointer_v<U>
69-
basic_native_handle(U value) noexcept
70-
: value_{make_pointer_number<T>(value)} {} // NOLINT(*-explicit-constructor)
69+
basic_native_handle(U value) noexcept // NOLINT(*-explicit-constructor)
70+
: value_{make_pointer_number<T>(value)} {}
7171

7272
/**
7373
* @brief Constructs the object from a mapped number.
7474
* @param value The mapped number.
7575
*/
76-
constexpr basic_native_handle(Mapped value) noexcept
77-
: value_{static_cast<T>(value)} {} // NOLINT(*-explicit-constructor)
76+
constexpr basic_native_handle(Mapped value) noexcept // NOLINT(*-explicit-constructor)
77+
: value_{static_cast<T>(value)} {}
7878

7979
constexpr bool operator==(const basic_native_handle&) const noexcept = default;
8080
constexpr auto operator<=>(const basic_native_handle&) const noexcept = default;
8181

8282
/**
8383
* @brief Checks whether the stored value is a valid handle.
84-
* @remark Assmues zero or negative one is invalid by default.
84+
* @remark Assumes zero or negative one is invalid by default.
8585
*/
8686
explicit constexpr operator bool() const noexcept {
8787
return Validator(static_cast<Mapped>(value_));

0 commit comments

Comments
 (0)