Skip to content

Commit

Permalink
Fix typos in the documentation of ntsa::IpAddress::v4() and v6()
Browse files Browse the repository at this point in the history
  • Loading branch information
lxv authored Sep 9, 2024
1 parent 4c9e412 commit e78e7f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions groups/nts/ntsa/ntsa_ipaddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,22 @@ class IpAddress
ntsa::Ipv6Address& makeV6(const ntsa::Ipv6Address& value);

/// Return a reference to the modifiable "v4" address representation.
/// The behavior is undefined unless 'is_ipv4()' is true.
/// The behavior is undefined unless 'isV4()' is true.
ntsa::Ipv4Address& v4();

/// Return a reference to the modifiable "v6" address representation.
/// The behavior is undefined unless 'is_v6()' is true.
/// The behavior is undefined unless 'isV6()' is true.
ntsa::Ipv6Address& v6();

/// Return the textual representation of this object.
bsl::string text() const;

/// Return a reference to the non-modifiable "v4" address
/// representation. The behavior is undefined unless 'is_v4()' is true.
/// representation. The behavior is undefined unless 'isV4()' is true.
const ntsa::Ipv4Address& v4() const;

/// Return a reference to the non-modifiable "v6" address
/// representation. The behavior is undefined unless 'is_v6()' is true.
/// representation. The behavior is undefined unless 'isV6()' is true.
const ntsa::Ipv6Address& v6() const;

/// Return the type of the IP address representation.
Expand Down

0 comments on commit e78e7f2

Please sign in to comment.