Skip to content

Commit

Permalink
fixed [[nodiscard]] typo (Twon#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeheke75 authored Dec 22, 2023
1 parent d996205 commit 8893618
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/core/src/morpheus/core/network/named_endpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class NamedEndpoint
, mPort(port)
{}

[[nodisard]] auto name() const noexcept { return mName; }
[[nodiscard]] auto name() const noexcept { return mName; }

[[nodisard]] auto port() const noexcept { return mPort; }
[[nodiscard]] auto port() const noexcept { return mPort; }

[[nodisard]] auto operator<=>(NamedEndpoint const& rhs) const noexcept = default;
[[nodiscard]] auto operator<=>(NamedEndpoint const& rhs) const noexcept = default;

private:
std::string mName;
Expand Down

0 comments on commit 8893618

Please sign in to comment.