Skip to content

Commit

Permalink
add const modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiao1254 committed Jun 25, 2022
1 parent 804850a commit 2081955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emp-zk/extensions/ram-zk/ostriple.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class F2kOSTriple {
/* ---------------------arithmetic----------------------*/

void compute_add_const(block &valb, block &macb,
block &vala, block &maca, block &c) {
const block &vala, const block &maca, const block &c) {
if(party == ALICE) {
valb = vala ^ c;
macb = maca;
Expand Down

0 comments on commit 2081955

Please sign in to comment.