Merge pull request #696 from sloriot/Aos2-fix_warning

Fix warning with clang
This commit is contained in:
Sebastien Loriot 2016-02-01 09:49:59 +01:00
commit 4e19aee11b
2 changed files with 2 additions and 2 deletions

View File

@ -3235,7 +3235,7 @@ public:
return is_equal(arc2);
}
#if defined(_MSC_VER) || defined(__clang__)
#if defined(_MSC_VER)
// befriending the kernel point
friend typename Curved_kernel_via_analysis_2::Point_2;

View File

@ -784,7 +784,7 @@ public:
// befriending the functors
#if defined(_MSC_VER) || defined(__clang__)
#if defined(_MSC_VER)
#define CGAL_BEFRIEND_CKvA_2_FUNCTOR(Z) \
friend typename Curved_kernel_via_analysis_2::Z; \
friend typename Curved_kernel_via_analysis_2_Functors::Z< Curved_kernel_via_analysis_2 >