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
Sreekanth Arikatla
VTK-m
Commits
d51ddda9
Commit
d51ddda9
authored
Dec 06, 2017
by
Robert Maynard
Browse files
Since sizeof returns std::size_t we should iterate using unsigned integers
parent
1d58eeaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/worklet/internal/DispatcherBase.h
View file @
d51ddda9
...
...
@@ -212,10 +212,10 @@ private:
};
//forward declares
template
<
in
t
LeftToProcess
>
template
<
std
::
size_
t
LeftToProcess
>
struct
for_each_dynamic_arg
;
template
<
in
t
LeftToProcess
,
typename
TypeCheckTag
>
template
<
std
::
size_
t
LeftToProcess
,
typename
TypeCheckTag
>
struct
convert_arg_wrapper
{
template
<
typename
T
,
typename
...
Args
>
...
...
@@ -238,7 +238,11 @@ struct convert_arg_wrapper
}
};
template
<
int
LeftToProcess
,
typename
T
,
typename
ContParams
,
typename
Trampoline
,
typename
...
Args
>
template
<
std
::
size_t
LeftToProcess
,
typename
T
,
typename
ContParams
,
typename
Trampoline
,
typename
...
Args
>
inline
void
convert_arg
(
vtkm
::
cont
::
internal
::
DynamicTransformTagStatic
,
T
&&
t
,
const
ContParams
&
,
...
...
@@ -250,7 +254,11 @@ inline void convert_arg(vtkm::cont::internal::DynamicTransformTagStatic,
trampoline
,
popped_sig
(),
std
::
forward
<
Args
>
(
args
)...,
std
::
forward
<
T
>
(
t
));
}
template
<
int
LeftToProcess
,
typename
T
,
typename
ContParams
,
typename
Trampoline
,
typename
...
Args
>
template
<
std
::
size_t
LeftToProcess
,
typename
T
,
typename
ContParams
,
typename
Trampoline
,
typename
...
Args
>
inline
void
convert_arg
(
vtkm
::
cont
::
internal
::
DynamicTransformTagCastAndCall
,
T
&&
t
,
const
ContParams
&
,
...
...
@@ -267,7 +275,7 @@ inline void convert_arg(vtkm::cont::internal::DynamicTransformTagCastAndCall,
std
::
forward
<
Args
>
(
args
)...);
}
template
<
in
t
LeftToProcess
>
template
<
std
::
size_
t
LeftToProcess
>
struct
for_each_dynamic_arg
{
template
<
typename
Trampoline
,
typename
ContParams
,
typename
T
,
typename
...
Args
>
...
...
Write
Preview
Supports
Markdown
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