|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77693 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-04-01 15:23:18
Author: jewillco
Date: 2012-04-01 15:23:18 EDT (Sun, 01 Apr 2012)
New Revision: 77693
URL: http://svn.boost.org/trac/boost/changeset/77693
Log:
Disabling abort for Windows CE
Text files modified:
trunk/boost/graph/isomorphism.hpp | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/isomorphism.hpp
==============================================================================
--- trunk/boost/graph/isomorphism.hpp (original)
+++ trunk/boost/graph/isomorphism.hpp 2012-04-01 15:23:18 EDT (Sun, 01 Apr 2012)
@@ -11,6 +11,7 @@
#include <iterator>
#include <algorithm>
#include <boost/config.hpp>
+#include <boost/assert.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/graph/depth_first_search.hpp>
#include <boost/utility.hpp>
@@ -309,7 +310,14 @@
case match_continuation::pos_G2_vertex_loop: {G2_verts = this_k.G2_verts; iter = this_k.iter; dfs_num_k = this_k.dfs_num_k; k.pop_back(); in_S[*G2_verts.first] = false; i = source(*iter, G1); j = target(*iter, G2); goto G2_loop_k;}
case match_continuation::pos_fi_adj_loop: {fi_adj = this_k.fi_adj; iter = this_k.iter; dfs_num_k = this_k.dfs_num_k; k.pop_back(); in_S[*fi_adj.first] = false; i = source(*iter, G1); j = target(*iter, G2); goto fi_adj_loop_k;}
case match_continuation::pos_dfs_num: {k.pop_back(); goto return_point_false;}
- default: assert (!"Bad position"); abort();
+ default: {
+ BOOST_ASSERT(!"Bad position");
+#ifdef UNDER_CE
+ exit(-1);
+#else
+ abort();
+#endif
+ }
}
}
}
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