瀏覽代碼

Update OptimService.cpp (#34)

Nicolas Amat 7 年之前
父節點
當前提交
4a0a686705
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pir/optim/OptimService.cpp

+ 2 - 0
pir/optim/OptimService.cpp

@@ -211,6 +211,8 @@ void OptimService::writeConfigFile(unsigned int alpha, unsigned int alphaMul, un
   file.close();
 }
 
+unsigned int OptimService::getNumberOfLines(std::ifstream& f)
+{
   unsigned int i = 0;
   string line;