diff --git a/include/gz/utils/Environment.hh b/include/gz/utils/Environment.hh index c282920..3302f88 100644 --- a/include/gz/utils/Environment.hh +++ b/include/gz/utils/Environment.hh @@ -85,15 +85,17 @@ using EnvironmentStrings = std::vector; /// \brief Convert a vector of environment variables to a map /// -/// \param[in] _envStrings Vector collection of environment variables. +/// \param[in] _envStrings Vector collection of environment variables /// \return Mapped collection of environment variables. -EnvironmentMap GZ_UTILS_VISIBLE envStringsToMap(const EnvironmentStrings &_envStrings); +EnvironmentMap GZ_UTILS_VISIBLE envStringsToMap( + const EnvironmentStrings &_envStrings); /// \brief Convert a map of environment variables to a vector /// /// \param[in] _envMap Collection of mapped environment variables. /// \return Vector collection of environment variables. -EnvironmentStrings GZ_UTILS_VISIBLE envMapToStrings(const EnvironmentMap &_envMap); +EnvironmentStrings GZ_UTILS_VISIBLE envMapToStrings( + const EnvironmentMap &_envMap); /// \brief Retrieve all current environment variables /// @@ -125,7 +127,6 @@ bool GZ_UTILS_VISIBLE setenv(const EnvironmentMap &_vars); /// \return A string containing all environment variables /// NOLINTNEXTLINE - This is incorrectly parsed as a global variable std::string GZ_UTILS_VISIBLE printenv(); - } // namespace GZ_UTILS_VERSION_NAMESPACE } // namespace utils } // namespace gz diff --git a/src/Environment.cc b/src/Environment.cc index a5b47e8..d477414 100644 --- a/src/Environment.cc +++ b/src/Environment.cc @@ -128,7 +128,6 @@ bool clearenv() } #endif return success; - } /////////////////////////////////////////////////