Commit dd873734 authored by Stephen Kelly's avatar Stephen Kelly Committed by Brad King

SystemTools: Remove some unnecessary c_str() calls

Change-Id: I2323e5b6ec35948f6f3ba8967369969e475f4e02
parent 88c5a768
......@@ -4918,8 +4918,8 @@ void SystemTools::ClassInitialize()
// Strip off one directory level and see if the logical
// mapping still works.
pwd_str = SystemTools::GetFilenamePath(pwd_str.c_str());
cwd_str = SystemTools::GetFilenamePath(cwd_str.c_str());
pwd_str = SystemTools::GetFilenamePath(pwd_str);
cwd_str = SystemTools::GetFilenamePath(cwd_str);
Realpath(pwd_str.c_str(), pwd_path);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment