From 0244856589b6cba86de365d4ffe63d3449b94bc7 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Thu, 17 Mar 2016 17:22:49 +0100 Subject: [PATCH] [MaL] use braces for initializer lists --- MathLib/LinAlg/PETSc/PETScVector.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MathLib/LinAlg/PETSc/PETScVector.cpp b/MathLib/LinAlg/PETSc/PETScVector.cpp index ab9ad1ae7f1..52415470112 100644 --- a/MathLib/LinAlg/PETSc/PETScVector.cpp +++ b/MathLib/LinAlg/PETSc/PETScVector.cpp @@ -44,8 +44,9 @@ PETScVector::PETScVector(const PetscInt vec_size, const bool is_global_size) PETScVector::PETScVector(const PetscInt vec_size, const std::vector<PetscInt>& ghost_ids, - const bool is_global_size) : - _size_ghosts(ghost_ids.size()), _has_ghost_id(true) + const bool is_global_size) + : _size_ghosts{ghost_ids.size()} + , _has_ghost_id{true} { _v.reset(new PETSc_Vec); -- GitLab