summaryrefslogtreecommitdiff
path: root/indra/llcommon/lldependencies.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2016-07-21 09:08:28 -0700
committerRider Linden <rider@lindenlab.com>2016-07-21 09:08:28 -0700
commit31009296bb8658155b1622395f9a0e9eb2ab3a51 (patch)
tree4bcacc043c143079a0e70cb0aa22ad2c444674d1 /indra/llcommon/lldependencies.cpp
parentd0d07ccac565632497c50510714b30503be8aa94 (diff)
parent9c49a6c91dd9b5bbe811fcd91d8992ed6bac33e7 (diff)
Merge
Diffstat (limited to 'indra/llcommon/lldependencies.cpp')
-rw-r--r--indra/llcommon/lldependencies.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/lldependencies.cpp b/indra/llcommon/lldependencies.cpp
index 0e72c175cb..87a699ff14 100644
--- a/indra/llcommon/lldependencies.cpp
+++ b/indra/llcommon/lldependencies.cpp
@@ -39,6 +39,7 @@
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/topological_sort.hpp>
#include <boost/graph/exception.hpp>
+#include <boost/throw_exception.hpp>
// other Linden headers
LLDependenciesBase::VertexList LLDependenciesBase::topo_sort(int vertices, const EdgeList& edges) const
@@ -76,7 +77,7 @@ LLDependenciesBase::VertexList LLDependenciesBase::topo_sort(int vertices, const
// Omit independent nodes: display only those that might contribute to
// the cycle.
describe(out, false);
- throw Cycle(out.str());
+ BOOST_THROW_EXCEPTION(Cycle(out.str()));
}
// A peculiarity of boost::topological_sort() is that it emits results in
// REVERSE topological order: to get the result you want, you must