projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-ups and fixes to compile with more warnings enabled and with g++.
[invirt/third/libt4.git]
/
rpc
/
marshall_wrap.h
diff --git
a/rpc/marshall_wrap.h
b/rpc/marshall_wrap.h
index
fa55f17
..
4ba7a20
100644
(file)
--- a/
rpc/marshall_wrap.h
+++ b/
rpc/marshall_wrap.h
@@
-43,7
+43,7
@@
struct VerifyOnFailure {
// One for function pointers...
template <class F, class R, class RV, class args_type, size_t... Indices>
// One for function pointers...
template <class F, class R, class RV, class args_type, size_t... Indices>
-typename enable_if<!is_member_function_pointer<F>::value, RV>::type
+typename enable_if<!is_member_function_pointer<F>::value, RV>::type inline
invoke(RV, F f, void *, R & r, args_type & t, tuple_indices<Indices...>) {
return f(r, move(get<Indices>(t))...);
}
invoke(RV, F f, void *, R & r, args_type & t, tuple_indices<Indices...>) {
return f(r, move(get<Indices>(t))...);
}
@@
-51,7
+51,7
@@
invoke(RV, F f, void *, R & r, args_type & t, tuple_indices<Indices...>) {
// And one for pointers to member functions...
template <class F, class C, class RV, class R, class args_type, size_t... Indices>
// And one for pointers to member functions...
template <class F, class C, class RV, class R, class args_type, size_t... Indices>
-typename enable_if<is_member_function_pointer<F>::value, RV>::type
+typename enable_if<is_member_function_pointer<F>::value, RV>::type inline
invoke(RV, F f, C *c, R & r, args_type & t, tuple_indices<Indices...>) {
return (c->*f)(r, move(get<Indices>(t))...);
}
invoke(RV, F f, C *c, R & r, args_type & t, tuple_indices<Indices...>) {
return (c->*f)(r, move(get<Indices>(t))...);
}