Skip to content

Commit

Permalink
Use GZ_UTILS_VISIBLE macro
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed May 17, 2022
1 parent fbec80f commit 97a1cfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/gz/utils/Environment.hh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ inline namespace IGNITION_UTILS_VERSION_NAMESPACE {
/// \param[in] _allowEmpty Allow set-but-empty variables.
/// (Unsupported on Windows)
/// \return True if the variable was found or false otherwise.
bool IGNITION_UTILS_VISIBLE env(
bool GZ_UTILS_VISIBLE env(
const std::string &_name, std::string &_value,
bool _allowEmpty = false);

Expand All @@ -54,7 +54,7 @@ bool IGNITION_UTILS_VISIBLE env(
/// \param[in] _name Name of the environment variable.
/// \param[in] _value Value of the variable to be set.
/// \return True if the variable was set or false otherwise.
bool IGNITION_UTILS_VISIBLE setenv(
bool GZ_UTILS_VISIBLE setenv(
const std::string &_name, const std::string &_value);

/// \brief Unset the environment variable '_name'.
Expand All @@ -64,7 +64,7 @@ bool IGNITION_UTILS_VISIBLE setenv(
///
/// \param[in] _name Name of the environment variable.
/// \return True if the variable was unset or false otherwise.
bool IGNITION_UTILS_VISIBLE unsetenv(const std::string &_name);
bool GZ_UTILS_VISIBLE unsetenv(const std::string &_name);

}
} // namespace utils
Expand Down

0 comments on commit 97a1cfa

Please sign in to comment.