Reactor: add overload of rr::Call for void(...)
For example, the following would fail to compile because Call tries to
return a result:
struct Class
{
static void Foo()
{
}
};
Function<Void()> function;
{
Call(SomeClass::Foo);
Return();
}
Bug: b/142132927
Change-Id: I249144aabae1dcfc4cb04a174ae698445be382d2
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37268
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Reviewed-by:
Alexis Hétu <sugoi@google.com>
Tested-by:
Antonio Maiorano <amaiorano@google.com>
Showing
Please
register
or
sign in
to comment