Ninja: Add friend struct so it can access the private ConvertToNinjaPath.

The HP aCC compiler is apparently more strict than all our other
dashboard compilers with respect to complaining about this.
This commit is contained in:
David Cole 2012-03-07 16:07:45 -05:00
parent dbe3dce546
commit 8c634330db
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ private:
std::string ConvertToNinjaPath(const char *path);
struct map_to_ninja_path;
friend struct map_to_ninja_path;
struct map_to_ninja_path {
cmLocalNinjaGenerator *LocalGenerator;
map_to_ninja_path(cmLocalNinjaGenerator *LocalGen)