2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-21 17:02:36 +00:00

Merged fix to suppress gcc3.4 warnings in make_void from main trunk to branch

[SVN r21504]
This commit is contained in:
Jaakko Järvi
2004-01-05 16:18:02 +00:00
parent 9df574d2ad
commit ee5a93d90f
2 changed files with 2 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ public:
template<class RET, CALL_TEMPLATE_ARGS> RET call(CALL_FORMAL_ARGS) const {
CALL_USE_ARGS;
return CALL_USE_ARGS;
}
template<class SigArgs> struct sig { typedef void type; };

View File

@@ -257,7 +257,7 @@ const_parameters(const lambda_functor<Arg>& lf)
// the wrapped lambda functor is evaluated, but we just don't do anything
// with the result.
struct voidifier_action {
template<class Ret, class A> static Ret apply(A&) {}
template<class Ret, class A> static void apply(A&) {}
};
template<class Args> struct return_type_N<voidifier_action, Args> {