From 3b37de71a3f19f5525503aacbb3bc0302a19ada4 Mon Sep 17 00:00:00 2001 From: Javad Saberlatibari <76922325+javadsaberlatibari@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:12:25 -0700 Subject: [PATCH] Add files via upload --- wellcoordination/benchmark/rubis.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wellcoordination/benchmark/rubis.hpp b/wellcoordination/benchmark/rubis.hpp index 7994ec8..b7059ba 100644 --- a/wellcoordination/benchmark/rubis.hpp +++ b/wellcoordination/benchmark/rubis.hpp @@ -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; } @@ -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: