summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MathUtil.cpp
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-04-15 03:25:15 -0400
committerLioncash <mai.iam2048@gmail.com>2023-04-15 03:25:38 -0400
commit5e0c20f8a53d587e4fcacfd202627eadd3a12472 (patch)
tree154bcc3f1e607c842ca0a09e46f80f6d7cf6441e /Source/Core/Common/MathUtil.cpp
parente9dbb93cb56bb48666295c211364f47857cfdaa3 (diff)
Common/MathUtil: Remove MathFloatVectorSum()
This isn't used anywhere and not really a generic utility, so we can get rid of it. This also lets us remove MathUtil.cpp, since this was the only thing within that file.
Diffstat (limited to 'Source/Core/Common/MathUtil.cpp')
-rw-r--r--Source/Core/Common/MathUtil.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/Core/Common/MathUtil.cpp b/Source/Core/Common/MathUtil.cpp
deleted file mode 100644
index 23034aeb14..0000000000
--- a/Source/Core/Common/MathUtil.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2008 Dolphin Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "Common/MathUtil.h"
-
-#include <numeric>
-
-// Calculate sum of a float list
-float MathFloatVectorSum(const std::vector<float>& Vec)
-{
- return std::accumulate(Vec.begin(), Vec.end(), 0.0f);
-}