Skip to content

Commit

Permalink
Changes in utility.C for -Wshadow.
Browse files Browse the repository at this point in the history
Issue #24.
  • Loading branch information
jwpeterson committed Feb 1, 2013
1 parent aaef69c commit 1f62eff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/utility.C
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace libMesh
// system without creating a perf_log object.
std::string Utility::system_info()
{
std::ostringstream out;
std::ostringstream oss;

std::string date = Utility::get_timestamp();

Expand All @@ -58,7 +58,7 @@ std::string Utility::system_info()
#endif


out << '\n'
oss << '\n'
<< " ---------------------------------------------------------------------\n"
<< "| Time: " << date << '\n'
<< "| OS: " << sysInfo.sysname << '\n'
Expand All @@ -73,7 +73,7 @@ std::string Utility::system_info()
#endif
<< " ---------------------------------------------------------------------\n";

return out.str();
return oss.str();
}


Expand Down

0 comments on commit 1f62eff

Please sign in to comment.