Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
812b8f7a
Commit
812b8f7a
authored
Dec 09, 2009
by
henry
Browse files
Changed the way in which the sub-dictionaries prepend the name of the parent to
avoid accumulation of the name during copy and clone.
parent
e67d22f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/dictionary/dictionary.C
View file @
812b8f7a
...
...
@@ -122,7 +122,7 @@ Foam::dictionary::dictionary
const
dictionary
&
dict
)
:
dictionaryName
(
parentDict
.
name
()
+
"::"
+
dict
.
name
()),
dictionaryName
(
dict
.
name
()),
IDLList
<
entry
>
(
dict
,
*
this
),
parent_
(
parentDict
)
{
...
...
@@ -489,7 +489,7 @@ Foam::dictionary Foam::dictionary::subOrEmptyDict
if
(
entryPtr
==
NULL
)
{
return
dictionary
(
*
this
,
dictionary
(
keyword
));
return
dictionary
(
*
this
,
dictionary
(
name
()
+
"::"
+
keyword
));
}
else
{
...
...
Write
Preview
Markdown
is supported
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