diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-04-03 23:05:22 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2018-04-03 23:05:22 +0200 |
commit | 05fe3b06c80fc7fa438ed5faf5805c79a92789e9 (patch) | |
tree | 160ec2fa0bb26cedcdfeb2e330ba1d41107dd158 /src/hud.cpp | |
parent | 4827f754ec9efc1e1fa8e519eaa211ed768e25c0 (diff) | |
download | minetest-05fe3b06c80fc7fa438ed5faf5805c79a92789e9.tar.gz minetest-05fe3b06c80fc7fa438ed5faf5805c79a92789e9.tar.bz2 minetest-05fe3b06c80fc7fa438ed5faf5805c79a92789e9.zip |
Fix last clang-tidy reported problems for performance-type-promotion-in-math-fn
Based on https://travis-ci.org/minetest/minetest/jobs/361810382 output
Also fix 2 missing copyright notices
Diffstat (limited to 'src/hud.cpp')
-rw-r--r-- | src/hud.cpp | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/hud.cpp b/src/hud.cpp index 0d2d092a7..e4a20190d 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -1,5 +1,24 @@ -#include "hud.h" +/* +Minetest +Copyright (C) 2010-2018 celeron55, Perttu Ahola <celeron55@gmail.com> + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include "hud.h" +#include <cmath> const struct EnumString es_HudElementType[] = { |