Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
70b50865
Commit
70b50865
authored
Jan 11, 2012
by
Tiago Peixoto
Browse files
Fix include file issue in gml.hh
This fixes ticket
#85
.
parent
2dbe0ce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/gml.hh
View file @
70b50865
...
...
@@ -36,6 +36,12 @@
#include
<string>
#include
<vector>
#if (GCC_VERSION >= 40400)
# include <tr1/unordered_map>
#else
# include <boost/tr1/unordered_map.hpp>
#endif
namespace
graph_tool
{
using
namespace
std
;
...
...
@@ -199,10 +205,10 @@ private:
Graph
&
_g
;
dynamic_properties
&
_dp
;
bool
_directed
;
unordered_map
<
int
,
typename
graph_traits
<
Graph
>::
vertex_descriptor
>
_vmap
;
tr1
::
unordered_map
<
int
,
typename
graph_traits
<
Graph
>::
vertex_descriptor
>
_vmap
;
// the stack holds the keys, and its properties (but omits nested lists)
typedef
unordered_map
<
std
::
string
,
val_t
>
prop_list_t
;
typedef
tr1
::
unordered_map
<
std
::
string
,
val_t
>
prop_list_t
;
vector
<
pair
<
std
::
string
,
prop_list_t
>
>
_stack
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment