Explicitely initialize all the atomic variables.

This commit is contained in:
Benoit Steiner
2016-05-11 10:04:41 -07:00
parent 0f61343893
commit 6a5717dc74
2 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ namespace Eigen {
template <typename Work, unsigned kSize>
class RunQueue {
public:
RunQueue() : front_(), back_() {
RunQueue() : front_(0), back_(0) {
// require power-of-two for fast masking
eigen_assert((kSize & (kSize - 1)) == 0);
eigen_assert(kSize > 2); // why would you do this?