Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
javadsaberlatibari authored Mar 20, 2024
1 parent cf71dbe commit 3b37de7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wellcoordination/benchmark/rubis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ class Rubis : public ReplicatedObject
storeBuyNow(s_id, value);
break;
}
case MethodType::REGISTER_USER{
case MethodType::REGISTER_USER:
{
registeruser(std::stoi(call.arg));
break;
}
Expand All @@ -144,7 +145,7 @@ class Rubis : public ReplicatedObject
index = sub_arg.find_first_of('-');
int u_id = std::stoi(sub_arg.substr(0, index));
int value = std::stoi(sub_arg.substr(index + 1, sub_arg.length()));
placeBid(a_id, u_id, value)
placeBid(a_id, u_id, value);
break;
}
case MethodType::QUERY:
Expand Down

0 comments on commit 3b37de7

Please sign in to comment.