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
2fd07c12
Commit
2fd07c12
authored
May 23, 2016
by
Henry Weller
Browse files
functionObjects::pressure: Use the new 'tmp' 'move' constructor
to return unchanged 'tmp' arguments
parent
3565b549
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/postProcessing/functionObjects/field/pressure/pressure.C
View file @
2fd07c12
...
...
@@ -107,7 +107,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::pressure::pRef
}
else
{
return
tmp
<
volScalarField
>
(
tp
.
ptr
()
);
return
std
::
move
(
tp
);
}
}
...
...
@@ -126,7 +126,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::pressure::pDyn
}
else
{
return
tmp
<
volScalarField
>
(
tp
.
ptr
()
);
return
std
::
move
(
tp
);
}
}
...
...
@@ -154,7 +154,7 @@ Foam::functionObjects::pressure::coeff
}
else
{
return
tmp
<
volScalarField
>
(
tp
.
ptr
()
);
return
std
::
move
(
tp
);
}
}
...
...
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