Преглед изворни кода

Const correctness in WNEvalPlan::dump()

Ian Goldberg пре 1 година
родитељ
комит
2c240b140a
1 измењених фајлова са 1 додато и 1 уклоњено
  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);