Skip to content

Commit a52fd2c

Browse files
committed
Migrate IGNITION_MATH_VISIBLE macros from rebase
Signed-off-by: methylDragon <methylDragon@gmail.com>
1 parent 4865e74 commit a52fd2c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

include/gz/math/Helpers.hh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -579,20 +579,20 @@ namespace gz
579579
/// \brief Parse string into an integer.
580580
/// \param[in] _input The input string.
581581
/// \return An integer, or NAN_I if unable to parse the input.
582-
int IGNITION_MATH_VISIBLE parseInt(const std::string &_input);
582+
int GZ_MATH_VISIBLE parseInt(const std::string &_input);
583583

584584
/// \brief parse string into float.
585585
/// \param [in] _input The string.
586586
/// \return A floating point number (can be NaN) or NAN_D if the
587587
/// _input could not be parsed.
588-
double IGNITION_MATH_VISIBLE parseFloat(const std::string &_input);
588+
double GZ_MATH_VISIBLE parseFloat(const std::string &_input);
589589

590590
/// \brief Convert a std::chrono::steady_clock::time_point to a seconds and
591591
/// nanoseconds pair.
592592
/// \param[in] _time The time point to convert.
593593
/// \return A pair where the first element is the number of seconds and
594594
/// the second is the number of nanoseconds.
595-
std::pair<int64_t, int64_t> IGNITION_MATH_VISIBLE timePointToSecNsec(
595+
std::pair<int64_t, int64_t> GZ_MATH_VISIBLE timePointToSecNsec(
596596
const std::chrono::steady_clock::time_point &_time);
597597

598598
/// \brief Convert seconds and nanoseconds to
@@ -601,7 +601,7 @@ namespace gz
601601
/// \param[in] _nanosec The nanoseconds to convert.
602602
/// \return A std::chrono::steady_clock::time_point based on the number of
603603
/// seconds and the number of nanoseconds.
604-
std::chrono::steady_clock::time_point IGNITION_MATH_VISIBLE
604+
std::chrono::steady_clock::time_point GZ_MATH_VISIBLE
605605
secNsecToTimePoint(
606606
const uint64_t &_sec, const uint64_t &_nanosec);
607607

@@ -611,15 +611,15 @@ namespace gz
611611
/// \param[in] _nanosec The nanoseconds to convert.
612612
/// \return A std::chrono::steady_clock::duration based on the number of
613613
/// seconds and the number of nanoseconds.
614-
std::chrono::steady_clock::duration IGNITION_MATH_VISIBLE secNsecToDuration(
614+
std::chrono::steady_clock::duration GZ_MATH_VISIBLE secNsecToDuration(
615615
const uint64_t &_sec, const uint64_t &_nanosec);
616616

617617
/// \brief Convert a std::chrono::steady_clock::duration to a seconds and
618618
/// nanoseconds pair.
619619
/// \param[in] _dur The duration to convert.
620620
/// \return A pair where the first element is the number of seconds and
621621
/// the second is the number of nanoseconds.
622-
std::pair<int64_t, int64_t> IGNITION_MATH_VISIBLE durationToSecNsec(
622+
std::pair<int64_t, int64_t> GZ_MATH_VISIBLE durationToSecNsec(
623623
const std::chrono::steady_clock::duration &_dur);
624624

625625
// TODO(anyone): Replace this with std::chrono::days.

0 commit comments

Comments
 (0)