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 d28f262 commit 7cc2b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wellcoordination/benchmark/rubis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ class Rubis : public ReplicatedObject
size_t index = call.arg.find_first_of('-');
int s_id = std::stoi(call.arg.substr(0, index));
int value = std::stoi(call.arg.substr(index + 1, call.arg.length()));
sellItem(int s_id, int value);
sellItem(s_id, value);
break;
case MethodType::STORE_BUY_NOW:
size_t index = call.arg.find_first_of('-');
int s_id = std::stoi(call.arg.substr(0, index));
int value = std::stoi(call.arg.substr(index + 1, call.arg.length()));
storeBuyNow(int s_id, int value);
storeBuyNow(s_id, value);
break;
case MethodType::REGISTER_USER:
registeruser(std::stoi(call.arg));
Expand Down

0 comments on commit 7cc2b12

Please sign in to comment.