From 8c634330db7988c56d0327d60c8056460634974b Mon Sep 17 00:00:00 2001 From: David Cole Date: Wed, 7 Mar 2012 16:07:45 -0500 Subject: 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. --- Source/cmLocalNinjaGenerator.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h index 8ef4d28..e9bbf43 100644 --- a/Source/cmLocalNinjaGenerator.h +++ b/Source/cmLocalNinjaGenerator.h @@ -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) -- cgit v0.12