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
ef1df59f
Commit
ef1df59f
authored
Mar 13, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Mar 13, 2019
Browse files
STYLE: checkIndex for bitSet, PackedList only on FULLDEBUG (
#1235
)
parent
1a35a3ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Bits/PackedList/PackedListI.H
View file @
ef1df59f
...
...
@@ -716,10 +716,9 @@ template<unsigned Width>
inline
typename
Foam
::
PackedList
<
Width
>::
reference
Foam
::
PackedList
<
Width
>::
operator
[](
const
label
i
)
{
// Leave enabled during testing period (MAR-2018)
// #ifdef FULLDEBUG
#ifdef FULLDEBUG
checkIndex
(
i
);
//
#endif
#endif
return
reference
(
this
,
i
);
}
...
...
src/OpenFOAM/containers/Bits/bitSet/bitSetI.H
View file @
ef1df59f
...
...
@@ -635,10 +635,9 @@ inline unsigned int Foam::bitSet::operator[](const label i) const
inline
Foam
::
bitSet
::
reference
Foam
::
bitSet
::
operator
[](
const
label
i
)
{
// Leave enabled during testing period (MAR-2018) ... and perhaps later too
// #ifdef FULLDEBUG
#ifdef FULLDEBUG
checkIndex
(
i
);
//
#endif
#endif
return
reference
(
this
,
i
);
}
...
...
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