|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50137 - trunk/boost/graph
From: juergen.hunold_at_[hidden]
Date: 2008-12-05 12:53:23
Author: jhunold
Date: 2008-12-05 12:53:22 EST (Fri, 05 Dec 2008)
New Revision: 50137
URL: http://svn.boost.org/trac/boost/changeset/50137
Log:
Add deprecation header for wrong-spelled Edmonds-Karp-Max-Flox.
Preparaion to fix #416
Added:
trunk/boost/graph/edmunds_karp_max_flow.hpp (contents, props changed)
Added: trunk/boost/graph/edmunds_karp_max_flow.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/graph/edmunds_karp_max_flow.hpp 2008-12-05 12:53:22 EST (Fri, 05 Dec 2008)
@@ -0,0 +1,19 @@
+//=======================================================================
+// (c) Copyright Juergen Hunold 2008
+// Use, modification and distribution is subject to the Boost Software
+// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//=======================================================================
+
+#ifndef BOOST_DEPRECATED_INCLUDE_EDMONDS_KARP_MAX_FLOW_HPP
+#define BOOST_DEPRECATED_INCLUDE_EDMONDS_KARP_MAX_FLOW_HPP
+
+#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
+# pragma message ("Warning: This header is deprecated. Please use: boost/graph/edmonds_karp_max_flow.hpp")
+#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
+# warning "This header is deprecated. Please use: boost/graph/edmonds_karp_max_flow.hpp"
+#endif
+
+#include <boost/graph/edmonds_karp_max_flow.hpp>
+
+#endif // BOOST_DEPRECATED_INCLUDE_EDMONDS_KARP_MAX_FLOW_HPP
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk