Skip to content

Commit 6a4c50f

Browse files
committed
Refer to valid() function correctly in comments
1 parent a6cc726 commit 6a4c50f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/osmium/osm/location.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ namespace osmium {
336336
* Check whether the coordinates of this location
337337
* are defined.
338338
*
339-
* @deprecated Use is_defined() or is_undefined() or is_valid() which
339+
* @deprecated Use is_defined() or is_undefined() or valid() which
340340
* have all slightly different meanings.
341341
*/
342342
explicit constexpr operator bool() const noexcept {
@@ -359,7 +359,7 @@ namespace osmium {
359359
/**
360360
* Returns true if at least one of the coordinates is defined.
361361
*
362-
* See also is_undefined() and is_valid().
362+
* See also is_undefined() and valid().
363363
*/
364364
constexpr bool is_defined() const noexcept {
365365
return m_x != undefined_coordinate || m_y != undefined_coordinate;
@@ -368,7 +368,7 @@ namespace osmium {
368368
/**
369369
* Returns true if both coordinates are undefined.
370370
*
371-
* See also is_defined() and is_valid().
371+
* See also is_defined() and valid().
372372
*/
373373
constexpr bool is_undefined() const noexcept {
374374
return m_x == undefined_coordinate && m_y == undefined_coordinate;

0 commit comments

Comments
 (0)