Browse Source

Const correctness in WNEvalPlan::dump()

Ian Goldberg 1 year ago
parent
commit
2c240b140a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Enclave/OblivAlgs/WaksmanNetwork.hpp

+ 1 - 1
Enclave/OblivAlgs/WaksmanNetwork.hpp

@@ -101,7 +101,7 @@ struct WNEvalPlan {
     count_switches(Nright);
   }
 
-  void dump(int indent = 0) {
+  void dump(int indent = 0) const {
       printf("%*sN = %lu, nthreads = %lu, inswitches = %lu, outswitches = %lu\n",
           indent, "", N, nthreads, subtree_num_inswitches,
           subtree_num_outswitches);