- Add 1083.patch to fix build with boost-1.82 OBS-URL: https://build.opensuse.org/request/show/1125776 OBS-URL: https://build.opensuse.org/package/show/science/votca?expand=0&rev=17
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
diff --git a/xtp/src/libxtp/calculators/kmclifetime.cc b/xtp/src/libxtp/calculators/kmclifetime.cc
|
|
index f6a1093ff..56730bce9 100644
|
|
--- a/xtp/src/libxtp/calculators/kmclifetime.cc
|
|
+++ b/xtp/src/libxtp/calculators/kmclifetime.cc
|
|
@@ -21,7 +21,7 @@
|
|
|
|
// Third party includes
|
|
#include <boost/format.hpp>
|
|
-#include <boost/progress.hpp>
|
|
+#include <boost/timer/progress_display.hpp>
|
|
|
|
// VOTCA includes
|
|
#include <votca/tools/constants.h>
|
|
@@ -290,7 +290,7 @@ void KMCLifetime::RunVSSM() {
|
|
|
|
// determine where it will jump to
|
|
ResetForbiddenlist(forbiddendests);
|
|
- boost::progress_display progress(insertions_);
|
|
+ boost::timer::progress_display progress(insertions_);
|
|
|
|
while (true) {
|
|
// LEVEL 2
|
|
diff --git a/xtp/src/libxtp/calculators/neighborlist.cc b/xtp/src/libxtp/calculators/neighborlist.cc
|
|
index ce18af288..0b4bcc61b 100644
|
|
--- a/xtp/src/libxtp/calculators/neighborlist.cc
|
|
+++ b/xtp/src/libxtp/calculators/neighborlist.cc
|
|
@@ -17,7 +17,7 @@
|
|
|
|
// Third party includes
|
|
#include <boost/format.hpp>
|
|
-#include <boost/progress.hpp>
|
|
+#include <boost/timer/progress_display.hpp>
|
|
|
|
// Local private VOTCA includes
|
|
#include "neighborlist.h"
|
|
@@ -124,7 +124,7 @@ bool Neighborlist::Evaluate(Topology& top) {
|
|
|
|
top.NBList().Cleanup();
|
|
|
|
- boost::progress_display progress(segs.size());
|
|
+ boost::timer::progress_display progress(segs.size());
|
|
// cache approx sizes
|
|
std::vector<double> approxsize = std::vector<double>(segs.size(), 0.0);
|
|
#pragma omp parallel for
|