mirror of
https://github.com/boostorg/graph.git
synced 2026-01-30 07:52:10 +00:00
Move enum out of GraphParse::operator()
[SVN r33642]
This commit is contained in:
@@ -115,6 +115,7 @@ void getSubset(T&, const no_property&)
|
||||
// get property subset
|
||||
//===========================================================================
|
||||
// graph parser
|
||||
typedef enum{ PARSE_NUM_NODES, PARSE_VERTEX, PARSE_EDGE } GraphParserState;
|
||||
|
||||
template<class Graph_t, class VertexProperty, class EdgeProperty, class VertexPropertySubset,
|
||||
class EdgePropertySubset>
|
||||
@@ -131,8 +132,7 @@ struct GraphParser
|
||||
typedef typename graph_traits<Graph>::vertex_descriptor Vertex;
|
||||
std::vector<Vertex> nodes;
|
||||
|
||||
typedef enum{ PARSE_NUM_NODES, PARSE_VERTEX, PARSE_EDGE } State;
|
||||
State state = PARSE_VERTEX;
|
||||
GraphParserState state = PARSE_VERTEX;
|
||||
|
||||
unsigned int numLine = 1;
|
||||
char c;
|
||||
|
||||
Reference in New Issue
Block a user