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
a3635d0b
Commit
a3635d0b
authored
Jul 16, 2015
by
Tiago Peixoto
Browse files
Include gt_hash_map::resize if sparsehash is disabled
parent
11c15b0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/hash_map_wrap.hh
View file @
a3635d0b
...
@@ -203,6 +203,11 @@ public:
...
@@ -203,6 +203,11 @@ public:
#else
#else
:
base_t
(
il
,
n
,
hf
,
eql
,
alloc
)
{
}
:
base_t
(
il
,
n
,
hf
,
eql
,
alloc
)
{
}
#endif
#endif
#ifndef HAVE_SPARSEHASH
void
resize
(
size_t
n
)
{
base_t
::
reserve
(
n
);
}
#endif
};
};
template
<
class
Key
,
template
<
class
Key
,
...
@@ -270,6 +275,11 @@ public:
...
@@ -270,6 +275,11 @@ public:
#else
#else
:
base_t
(
il
,
n
,
hf
,
eql
,
alloc
)
{
}
:
base_t
(
il
,
n
,
hf
,
eql
,
alloc
)
{
}
#endif
#endif
#ifndef HAVE_SPARSEHASH
void
resize
(
size_t
n
)
{
base_t
::
reserve
(
n
);
}
#endif
};
};
...
...
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