Skip to content

Commit

Permalink
pkix: MOZ_DEFAULT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roytam1 committed May 2, 2024
1 parent e78b8a8 commit 93e1491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/pkix/include/pkix/Input.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Input final
}

// This is intentionally not explicit in order to allow value semantics.
Input(const Input&) { };
Input(const Input &rhs) : data(rhs.data), len(rhs.len) { };

// Initialize the input. data must be non-null and len must be less than
// 65536. Init may not be called more than once.
Expand Down Expand Up @@ -290,7 +290,7 @@ class Reader final
class Mark final
{
public:
Mark(const Mark&) MOZ_DEFAULT; // Intentionally not explicit.
Mark(const Mark &rhs) : input(rhs.input), mark(rhs.mark) { } // Intentionally not explicit.
private:
friend class Reader;
Mark(const Reader& input, const uint8_t* mark) : input(input), mark(mark) { }
Expand Down

0 comments on commit 93e1491

Please sign in to comment.