Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
integration-cfmesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Community
integration-cfmesh
Commits
4027ad9c
Commit
4027ad9c
authored
10 years ago
by
Alexey Matveichev
Browse files
Options
Downloads
Patches
Plain Diff
Unused parameter & deprecated register storage class
parent
c9eb587c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
meshLibrary/utilities/containers/FRWGraph/FRWGraphI.H
+9
-1
9 additions, 1 deletion
meshLibrary/utilities/containers/FRWGraph/FRWGraphI.H
with
9 additions
and
1 deletion
meshLibrary/utilities/containers/FRWGraph/FRWGraphI.H
+
9
−
1
View file @
4027ad9c
...
@@ -105,7 +105,7 @@ inline Foam::label Foam::FRWGraph<T,width>::size() const
...
@@ -105,7 +105,7 @@ inline Foam::label Foam::FRWGraph<T,width>::size() const
}
}
template
<
class
T
,
Foam
::
label
width
>
template
<
class
T
,
Foam
::
label
width
>
inline
Foam
::
label
Foam
::
FRWGraph
<
T
,
width
>::
sizeOfRow
(
const
label
rowI
)
const
inline
Foam
::
label
Foam
::
FRWGraph
<
T
,
width
>::
sizeOfRow
(
const
label
/*
rowI
*/
)
const
{
{
return
width
;
return
width
;
}
}
...
@@ -155,7 +155,11 @@ inline bool Foam::FRWGraph<T,width>::contains
...
@@ -155,7 +155,11 @@ inline bool Foam::FRWGraph<T,width>::contains
)
const
)
const
{
{
const
label
start
=
rowI
*
width
;
const
label
start
=
rowI
*
width
;
#if defined(__clang__)
for
(
label
i
=
0
;
i
<
width
;
++
i
)
#else
for
(
register
label
i
=
0
;
i
<
width
;
++
i
)
for
(
register
label
i
=
0
;
i
<
width
;
++
i
)
#endif
if
(
data_
[
start
+
i
]
==
e
)
if
(
data_
[
start
+
i
]
==
e
)
return
true
;
return
true
;
...
@@ -170,7 +174,11 @@ inline Foam::label Foam::FRWGraph<T,width>::containsAtPosition
...
@@ -170,7 +174,11 @@ inline Foam::label Foam::FRWGraph<T,width>::containsAtPosition
)
const
)
const
{
{
const
label
start
=
rowI
*
width
;
const
label
start
=
rowI
*
width
;
#if defined(__clang__)
for
(
label
i
=
0
;
i
<
width
;
++
i
)
#else
for
(
register
label
i
=
0
;
i
<
width
;
++
i
)
for
(
register
label
i
=
0
;
i
<
width
;
++
i
)
#endif
if
(
data_
[
start
+
i
]
==
e
)
if
(
data_
[
start
+
i
]
==
e
)
return
i
;
return
i
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment