summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSVN.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-04 19:03:38 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-04 19:05:05 (GMT)
commitea17faac4d9df954361c90eecc7c6c3d6f7e30e1 (patch)
treec3e409af7c03f8529003ef08502723dde5e3489c /Source/CTest/cmCTestSVN.h
parent35f2af164f97bbbed93160b098652b4ee4d8b964 (diff)
downloadCMake-ea17faac4d9df954361c90eecc7c6c3d6f7e30e1.zip
CMake-ea17faac4d9df954361c90eecc7c6c3d6f7e30e1.tar.gz
CMake-ea17faac4d9df954361c90eecc7c6c3d6f7e30e1.tar.bz2
cmCTestSVN: Fix compilation with Sun CC 5.1
Hack access to cmCTestVC::Revision on this compiler to avoid errors like Source/CTest/cmCTestSVN.cxx, line 23: Error: cmCTestSVN::SVNInfo is not accessible from cmCTestSVN::Revision. Source/CTest/cmCTestSVN.cxx, line 22: Error: cmCTestVC::Revision is not accessible from file level.
Diffstat (limited to 'Source/CTest/cmCTestSVN.h')
-rw-r--r--Source/CTest/cmCTestSVN.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSVN.h b/Source/CTest/cmCTestSVN.h
index 73d676e..c6548e3 100644
--- a/Source/CTest/cmCTestSVN.h
+++ b/Source/CTest/cmCTestSVN.h
@@ -63,6 +63,7 @@ private:
// Extended revision structure to include info about external it refers to.
struct Revision;
+ friend struct Revision;
// Info of all the repositories (root, externals and nested ones).
std::list<SVNInfo> Repositories;