Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos committed Sep 9, 2023
1 parent 7a30c36 commit 2e1e887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packet++/header/HttpLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ namespace pcpp
explicit HttpResponseStatusCode(const Value& statusCode, const std::string& statusMessage);

// Allow switch and comparisons.
constexpr operator Value() const { return m_Value; }
operator Value() const { return m_Value; }
// Prevent usage: if(httpResponseStatusCode)
explicit operator bool() const = delete;

Expand Down

0 comments on commit 2e1e887

Please sign in to comment.