Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
schwede
openstructure
Commits
4d1a5f68
Commit
4d1a5f68
authored
5 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
SCHWED-4612: Fix warning on unused (static) function.
parent
5b6da8c8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/img/alg/src/alg_shift.hh
+5
-5
5 additions, 5 deletions
modules/img/alg/src/alg_shift.hh
with
5 additions
and
5 deletions
modules/img/alg/src/alg_shift.hh
+
5
−
5
View file @
4d1a5f68
...
...
@@ -25,8 +25,6 @@
#include
<ost/img/value_util.hh>
#include
<ost/img/alg/module_config.hh>
namespace
ost
{
namespace
img
{
namespace
alg
{
namespace
{
unsigned
int
absmod
(
int
x
,
unsigned
int
y
)
...
...
@@ -36,6 +34,8 @@ unsigned int absmod(int x, unsigned int y)
}
// anon ns
namespace
ost
{
namespace
img
{
namespace
alg
{
class
DLLEXPORT_IMG_ALG
ShiftFnc
{
public:
ShiftFnc
()
:
shift_
()
{}
...
...
@@ -49,9 +49,9 @@ public:
unsigned
int
height
=
in_state
.
GetExtent
().
GetHeight
();
unsigned
int
width
=
in_state
.
GetExtent
().
GetWidth
();
unsigned
int
p0
=
absmod
(
shift_
[
0
],
width
);
unsigned
int
p1
=
absmod
(
shift_
[
1
],
height
);
unsigned
int
p2
=
absmod
(
shift_
[
2
],
depth
);
unsigned
int
p0
=
::
absmod
(
shift_
[
0
],
width
);
unsigned
int
p1
=
::
absmod
(
shift_
[
1
],
height
);
unsigned
int
p2
=
::
absmod
(
shift_
[
2
],
depth
);
for
(
unsigned
int
u
=
0
;
u
<
width
;
++
u
)
{
for
(
unsigned
int
v
=
0
;
v
<
height
;
++
v
)
{
...
...
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