Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-gui
Commits
b35e1d63
Commit
b35e1d63
authored
Jul 30, 2018
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Jul 30, 2018
Browse files
Fix some compilation warnings.
parent
a2b9463d
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/hppmanipulationwidgetsplugin/hppmanipulationwidgetsplugin.cc
View file @
b35e1d63
...
@@ -282,12 +282,12 @@ namespace hpp {
...
@@ -282,12 +282,12 @@ namespace hpp {
int
i
=
0
;
int
i
=
0
;
int
j
;
int
j
;
names
.
first
.
length
(
mapNames
.
size
());
names
.
first
.
length
((
CORBA
::
ULong
)
mapNames
.
size
());
names
.
second
.
length
(
mapNames
.
size
());
names
.
second
.
length
((
CORBA
::
ULong
)
mapNames
.
size
());
for
(
HppManipulationWidgetsPlugin
::
MapNames
::
iterator
itMap
=
mapNames
.
begin
();
for
(
HppManipulationWidgetsPlugin
::
MapNames
::
iterator
itMap
=
mapNames
.
begin
();
itMap
!=
mapNames
.
end
();
itMap
++
,
i
++
){
itMap
!=
mapNames
.
end
();
itMap
++
,
i
++
){
names
.
first
[
i
]
=
(
*
itMap
).
first
.
c_str
();
names
.
first
[
i
]
=
(
*
itMap
).
first
.
c_str
();
names
.
second
[
i
].
length
(
(
*
itMap
).
second
.
size
());
names
.
second
[
i
].
length
((
CORBA
::
ULong
)
(
*
itMap
).
second
.
size
());
j
=
0
;
j
=
0
;
for
(
std
::
list
<
std
::
string
>::
iterator
itList
=
(
*
itMap
).
second
.
begin
();
for
(
std
::
list
<
std
::
string
>::
iterator
itList
=
(
*
itMap
).
second
.
begin
();
itList
!=
(
*
itMap
).
second
.
end
();
itList
++
,
j
++
)
{
itList
!=
(
*
itMap
).
second
.
end
();
itList
++
,
j
++
)
{
...
@@ -370,13 +370,14 @@ namespace hpp {
...
@@ -370,13 +370,14 @@ namespace hpp {
void
print
(
const
hpp
::
Names_t
&
v
)
{
void
print
(
const
hpp
::
Names_t
&
v
)
{
std
::
cout
<<
"[ "
;
std
::
cout
<<
"[ "
;
for
(
std
::
size_t
i
=
0
;
i
<
v
.
length
();
i
++
)
std
::
cout
<<
'"'
<<
v
[
i
]
<<
"
\"
, "
;
for
(
std
::
size_t
i
=
0
;
i
<
v
.
length
();
i
++
)
std
::
cout
<<
'"'
<<
v
[(
CORBA
::
ULong
)
i
]
<<
"
\"
, "
;
std
::
cout
<<
"]"
;
std
::
cout
<<
"]"
;
}
}
void
print
(
const
hpp
::
corbaserver
::
manipulation
::
Namess_t
&
v
)
{
void
print
(
const
hpp
::
corbaserver
::
manipulation
::
Namess_t
&
v
)
{
std
::
cout
<<
"[ "
;
std
::
cout
<<
"[ "
;
for
(
std
::
size_t
i
=
0
;
i
<
v
.
length
();
i
++
)
{
for
(
std
::
size_t
i
=
0
;
(
std
::
size_t
)
i
<
v
.
length
();
i
++
)
{
print
(
v
[
i
]);
print
(
v
[
(
CORBA
::
ULong
)
i
]);
std
::
cout
<<
", "
;
std
::
cout
<<
", "
;
}
}
std
::
cout
<<
"]"
;
std
::
cout
<<
"]"
;
...
@@ -391,7 +392,7 @@ namespace hpp {
...
@@ -391,7 +392,7 @@ namespace hpp {
void
print
(
const
hpp
::
corbaserver
::
manipulation
::
Rules
&
v
)
{
void
print
(
const
hpp
::
corbaserver
::
manipulation
::
Rules
&
v
)
{
std
::
cout
<<
"[ "
;
std
::
cout
<<
"[ "
;
for
(
std
::
size_t
i
=
0
;
i
<
v
.
length
();
i
++
)
{
for
(
std
::
size_t
i
=
0
;
i
<
v
.
length
();
i
++
)
{
print
(
v
[
i
]);
print
(
v
[
(
CORBA
::
ULong
)
i
]);
std
::
cout
<<
", "
;
std
::
cout
<<
", "
;
}
}
std
::
cout
<<
"]"
;
std
::
cout
<<
"]"
;
...
...
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