summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-07 21:07:45 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-03-07 21:24:34 (GMT)
commit8c634330db7988c56d0327d60c8056460634974b (patch)
tree6abb70949809e36169654266e9c4d9a3024edd03
parentdbe3dce54670d774fd43e061be673b11e1dd18de (diff)
downloadCMake-8c634330db7988c56d0327d60c8056460634974b.zip
CMake-8c634330db7988c56d0327d60c8056460634974b.tar.gz
CMake-8c634330db7988c56d0327d60c8056460634974b.tar.bz2
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.
-rw-r--r--Source/cmLocalNinjaGenerator.h2
1 files changed, 2 insertions, 0 deletions
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)