Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
9d42286a
Commit
9d42286a
authored
Mar 22, 2010
by
Mark Olesen
Browse files
ENH: add missing operator/ for 'one' class
parent
2f594171
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/primitives/one/oneI.H
View file @
9d42286a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-200
9
OpenCFD Ltd.
\\ / A nd | Copyright (C) 1991-20
1
0 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -52,6 +52,13 @@ inline Type operator/(const one&, const Type& t)
}
template
<
class
Type
>
inline
const
Type
&
operator
/
(
const
Type
&
t
,
const
one
&
)
{
return
t
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
}
// End namespace Foam
...
...
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