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
Hurstel
CGoGN
Commits
fc424142
Commit
fc424142
authored
Jan 31, 2011
by
Sylvain Thery
Browse files
bug oubli if dans attrib registry
parent
4ced4fb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Topology/generic/genericmap.cpp
View file @
fc424142
...
@@ -35,7 +35,8 @@ std::map< std::string, RegisteredBaseAttribute* >* GenericMap::m_attributes_regi
...
@@ -35,7 +35,8 @@ std::map< std::string, RegisteredBaseAttribute* >* GenericMap::m_attributes_regi
GenericMap
::
GenericMap
()
GenericMap
::
GenericMap
()
{
{
m_attributes_registry_map
=
new
std
::
map
<
std
::
string
,
RegisteredBaseAttribute
*
>
;
if
(
m_attributes_registry_map
==
NULL
)
m_attributes_registry_map
=
new
std
::
map
<
std
::
string
,
RegisteredBaseAttribute
*
>
;
// register all known types
// register all known types
registerAttribute
<
Dart
>
(
"Dart"
);
registerAttribute
<
Dart
>
(
"Dart"
);
registerAttribute
<
Mark
>
(
"Mark"
);
registerAttribute
<
Mark
>
(
"Mark"
);
...
...
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