Author: andrico
Date: Sun Oct 23 20:35:03 2016
New Revision: 5434
URL: http://svn.gna.org/viewcvs/getfem?rev=5434&view=rev
Log:
removing redundant constructors in omp_distribute that were causing compiler
warnings
Modified:
trunk/getfem/src/getfem/getfem_omp.h
Modified: trunk/getfem/src/getfem/getfem_omp.h
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem/getfem_omp.h?rev=5434&r1=5433&r2=5434&view=diff
==============================================================================
--- trunk/getfem/src/getfem/getfem_omp.h (original)
+++ trunk/getfem/src/getfem/getfem_omp.h Sun Oct 23 20:35:03 2016
@@ -158,9 +158,7 @@
}
};
public:
- omp_distribute() : thread_values(num_threads()) {}
- omp_distribute(const T& value) :
- thread_values(num_threads(),value) {}
+
template <class... Args>
omp_distribute(Args&&... value){
for (size_type i = 0; i < num_threads(); ++i)
thread_values.emplace_back(value...);
_______________________________________________
Getfem-commits mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-commits