Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kvakil committed Mar 15, 2023
1 parent 8b9ee2b commit 8aeb303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_union_bytes.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ using StaticExternalTwoByteResource =
// via ToStringChecked.
class UnionBytes {
public:
UnionBytes(StaticExternalOneByteResource* one_byte_resource)
explicit UnionBytes(StaticExternalOneByteResource* one_byte_resource)
: one_byte_resource_(one_byte_resource), two_byte_resource_(nullptr) {}
UnionBytes(StaticExternalTwoByteResource* two_byte_resource)
explicit UnionBytes(StaticExternalTwoByteResource* two_byte_resource)
: one_byte_resource_(nullptr), two_byte_resource_(two_byte_resource) {}

UnionBytes(const UnionBytes&) = default;
Expand Down

0 comments on commit 8aeb303

Please sign in to comment.