Skip to content

Commit

Permalink
Fix broken namespace reference for env()
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 8, 2022
1 parent 1b063ba commit c4b6c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rendering/RenderUtil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2507,10 +2507,10 @@ void RenderUtil::Init()

// TODO(CH3): Deprecated. Remove on tock.
std::string result;
if (!env(kRenderPluginPathEnv, result))
if (!gz::common::env(kRenderPluginPathEnv, result))
{
// Try deprecated env var if proper env var not populated
if (env(kRenderPluginPathEnvDeprecated, result))
if (gz::common::env(kRenderPluginPathEnvDeprecated, result))
{
gzwarn << "Finding plugins using deprecated IGN_ prefixed environment "
<< "variable [" << kRenderPluginPathEnvDeprecated
Expand Down

0 comments on commit c4b6c42

Please sign in to comment.