diff --git a/Packages/Kernel_d/include/CGAL/Delaunay_d.h b/Packages/Kernel_d/include/CGAL/Delaunay_d.h index 36f7239089a..fe40cda0413 100644 --- a/Packages/Kernel_d/include/CGAL/Delaunay_d.h +++ b/Packages/Kernel_d/include/CGAL/Delaunay_d.h @@ -729,7 +729,7 @@ opposite_simplex(Simplex_const_handle s, int i) const if ( const_cast(this)->is_S_cocircular() ) { Simplex_const_handle f = Base::opposite_simplex(s,i); return ( Base::is_unbounded_simplex(f) ? - Simplex_handle() : f ); + Simplex_const_handle() : f ); } else { Simplex_const_handle f = Base::opposite_simplex(s,i+1); return ( type_of(f) == type_of(s) ? f : Simplex_const_handle() ); diff --git a/Packages/Kernel_d/include/CGAL/IO/Regular_complex_d_window_stream.h b/Packages/Kernel_d/include/CGAL/IO/Regular_complex_d_window_stream.h index 8c0ac825a88..d4a98bb86d1 100644 --- a/Packages/Kernel_d/include/CGAL/IO/Regular_complex_d_window_stream.h +++ b/Packages/Kernel_d/include/CGAL/IO/Regular_complex_d_window_stream.h @@ -1,36 +1,13 @@ -// ============================================================================ -// -// Copyright (c) 1997-2000 The CGAL Consortium -// -// This software and related documentation is part of an INTERNAL release -// of the Computational Geometry Algorithms Library (CGAL). It is not -// intended for general use. -// -// ---------------------------------------------------------------------------- -// -// release : $CGAL_Revision$ -// release_date : $CGAL_Date$ -// -// file : include/CGAL/Regular_complex_d_window_stream.h -// package : Kernel_d -// chapter : Basic -// -// source : ddgeo/Regular_complex_d.lw -// revision : $Revision$ -// revision_date : $Date$ -// -// author(s) : Michael Seel -// maintainer : Michael Seel -// coordinator : Susan Hert -// -// implementation: Higher dimensional geometry -// ============================================================================ #ifndef CGAL_REGULAR_COMPLEX_D_WINDOW_STREAM_H #define CGAL_REGULAR_COMPLEX_D_WINDOW_STREAM_H #include -#include +#include +#ifndef _MSC_VER #include +#else +#include +#endif #include #include #include @@ -94,7 +71,7 @@ void d2_map(const Regular_complex_d& RC, GRAPH& G) if (RC.dimension() != 2) CGAL_assertion_msg(0,"d2_map: dim must be 2."); G.clear(); - Hash_map node_for(nil); + Unique_hash_map node_for(nil); forall_rc_vertices(v,RC) { node_for[v] = G.new_node(to_leda_point(RC.associated_point(v))); @@ -198,7 +175,7 @@ void d3_graph(const Regular_complex_d& RC, CGAL_assertion_msg(RC.dimension() == 3,"d3_graph: dim must be 3."); G.clear(); node_map2 connected(G); - Hash_map node_for(nil); + Unique_hash_map node_for(nil); forall_rc_vertices(v,RC) { node_for[v] = G.new_node(RC.associated_point(v));