Commit dcd61c83 authored by Rob Latham's avatar Rob Latham
Browse files

Small error in example

parent 254c026f
......@@ -10,7 +10,7 @@ class my_sum_provider : public tl::provider<my_sum_provider> {
void prod(const tl::request& req, int x, int y) {
std::cout << "Computing " << x << "*" << y << std::endl;
req.respond(x+y);
req.respond(x*y);
}
int sum(int x, int y) const {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment