Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
ce97be8f
Commit
ce97be8f
authored
Apr 17, 2013
by
Guillaume Lazzara
Browse files
scribo/core/object_links.hh: Always initialize links in non-default constructors.
parent
289bcac1
Changes
2
Hide whitespace changes
Inline
Side-by-side
scribo/ChangeLog
View file @
ce97be8f
2013-04-17 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/core/object_links.hh: Always initialize links in
non-default constructors.
2013-04-17 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/core/component_set.hh: Adjust memory pre-allocation size.
...
...
scribo/scribo/core/object_links.hh
View file @
ce97be8f
...
...
@@ -207,6 +207,9 @@ namespace scribo
object_links
<
L
>::
object_links
(
const
component_set
<
L
>&
components
)
{
data_
=
new
data_t
(
components
,
value
::
next
(
components
.
nelements
()));
// Initialize with no link.
init
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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