[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r5434 - /trunk/getfem/src/getfem/getfem_omp.h
From: |
andriy . andreykiv |
Subject: |
[Getfem-commits] r5434 - /trunk/getfem/src/getfem/getfem_omp.h |
Date: |
Sun, 23 Oct 2016 18:35:04 -0000 |
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...);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r5434 - /trunk/getfem/src/getfem/getfem_omp.h,
andriy . andreykiv <=