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
3cf1f5ea
Commit
3cf1f5ea
authored
Jun 11, 2010
by
mattijs
Browse files
ENH: IOdictionary : print name in warning message about READ_IF_MODIFIED
parent
02d58696
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
View file @
3cf1f5ea
...
...
@@ -48,7 +48,8 @@ Foam::IOdictionary::IOdictionary(const IOobject& io)
{
WarningIn
(
"IOdictionary::IOdictionary(const IOobject&)"
)
//FatalErrorIn("IOdictionary::IOdictionary(const IOobject&)")
<<
"Dictionary constructed with IOobject::MUST_READ"
<<
"Dictionary "
<<
name
()
<<
" constructed with IOobject::MUST_READ"
" instead of IOobject::MUST_READ_IF_MODIFIED."
<<
nl
<<
"Use MUST_READ_IF_MODIFIED if you need automatic rereading."
<<
endl
;
...
...
@@ -82,7 +83,8 @@ Foam::IOdictionary::IOdictionary(const IOobject& io, const dictionary& dict)
WarningIn
(
"IOdictionary::IOdictionary(const IOobject& const dictionary&)"
)
<<
"Dictionary constructed with IOobject::MUST_READ"
)
<<
"Dictionary "
<<
name
()
<<
" constructed with IOobject::MUST_READ"
" instead of IOobject::MUST_READ_IF_MODIFIED."
<<
nl
<<
"Use MUST_READ_IF_MODIFIED if you need automatic rereading."
<<
endl
;
...
...
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