From 4cf99c4a3d2abd1639d0b2ac688bf09ed559586c Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 21 Jun 2011 10:22:47 +0000 Subject: [PATCH] Fix mutable_queue.hpp with old Boost versions boost/property_map.hpp has moved in recent Boost versions. --- .../CGAL/internal/boost/mutable_queue.hpp | 2 +- .../CGAL/internal/boost/property_map.h | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 STL_Extension/include/CGAL/internal/boost/property_map.h diff --git a/STL_Extension/include/CGAL/internal/boost/mutable_queue.hpp b/STL_Extension/include/CGAL/internal/boost/mutable_queue.hpp index 038817c9687..db94a9b114b 100644 --- a/STL_Extension/include/CGAL/internal/boost/mutable_queue.hpp +++ b/STL_Extension/include/CGAL/internal/boost/mutable_queue.hpp @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/STL_Extension/include/CGAL/internal/boost/property_map.h b/STL_Extension/include/CGAL/internal/boost/property_map.h new file mode 100644 index 00000000000..a5ca546c94b --- /dev/null +++ b/STL_Extension/include/CGAL/internal/boost/property_map.h @@ -0,0 +1,33 @@ +// Copyright (c) 2011 GeometryFactory (France). +// All rights reserved. +// +// This file is part of CGAL (www.cgal.org); you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation; version 2.1 of the License. +// See the file LICENSE.LGPL distributed with CGAL. +// +// Licensees holding a valid commercial license may use this file in +// accordance with the commercial license agreement provided with the software. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +// +// $URL$ +// $Id$ +// +// Author(s) : Laurent Rineau + +// This file includes either or +// depending on the version of Boost. + +#ifndef CGAL_INTERNAL_BOOST_PROPERTY_MAP_H +#define CGAL_INTERNAL_BOOST_PROPERTY_MAP_H + +#include +#if BOOST_VERSION >= 104000 + #include +#else + #include +#endif + +#endif // CGAL_INTERNAL_BOOST_PROPERTY_MAP_H