From b257862aace2b839416cca03ea2034811861aff2 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 27 Apr 2013 15:46:22 +0200 Subject: [PATCH] Before changing to polymorphic clone --- src/blackmisc/mathmatrix3x3.cpp | 2 +- src/blackmisc/mathmatrixbase.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blackmisc/mathmatrix3x3.cpp b/src/blackmisc/mathmatrix3x3.cpp index a754f1b8a..952ac4864 100644 --- a/src/blackmisc/mathmatrix3x3.cpp +++ b/src/blackmisc/mathmatrix3x3.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2013 VATSIM Community / authors +/* Copyright (C) 2013 VATSIM Community / contributors * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/src/blackmisc/mathmatrixbase.h b/src/blackmisc/mathmatrixbase.h index 7066f3e71..8fd314ba3 100644 --- a/src/blackmisc/mathmatrixbase.h +++ b/src/blackmisc/mathmatrixbase.h @@ -109,7 +109,7 @@ public: */ ImplMatrix operator *(double factor) const { - ImplMatrix m(0); + ImplMatrix m; m += (*this); m *= factor; return m;