mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Move unnecessary typedefs out of header.
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
using namespace std;
|
||||
|
||||
namespace loot {
|
||||
typedef boost::graph_traits<PluginGraph>::vertex_iterator vertex_it;
|
||||
typedef boost::graph_traits<PluginGraph>::edge_descriptor edge_t;
|
||||
typedef boost::graph_traits<PluginGraph>::edge_iterator edge_it;
|
||||
struct cycle_detector : public boost::dfs_visitor < > {
|
||||
cycle_detector() {}
|
||||
|
||||
|
||||
@@ -36,9 +36,6 @@ namespace loot {
|
||||
|
||||
typedef boost::adjacency_list<boost::listS, boost::listS, boost::directedS, loot::Plugin> PluginGraph;
|
||||
typedef boost::graph_traits<PluginGraph>::vertex_descriptor vertex_t;
|
||||
typedef boost::graph_traits<PluginGraph>::vertex_iterator vertex_it;
|
||||
typedef boost::graph_traits<PluginGraph>::edge_descriptor edge_t;
|
||||
typedef boost::graph_traits<PluginGraph>::edge_iterator edge_it;
|
||||
|
||||
std::list<Plugin> Sort(PluginGraph& graph);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user