From 5e0c20f8a53d587e4fcacfd202627eadd3a12472 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 15 Apr 2023 03:25:15 -0400 Subject: 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. --- Source/Core/Common/MathUtil.cpp | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 Source/Core/Common/MathUtil.cpp (limited to 'Source/Core/Common/MathUtil.cpp') 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 - -// Calculate sum of a float list -float MathFloatVectorSum(const std::vector& Vec) -{ - return std::accumulate(Vec.begin(), Vec.end(), 0.0f); -} -- cgit v1.2.3