diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index 77f9c87a1a..6d9636363d 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -80,7 +80,6 @@ add_library(common Logging/Log.h Logging/LogManager.cpp Logging/LogManager.h - MathUtil.cpp MathUtil.h Matrix.cpp Matrix.h 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); -} diff --git a/Source/Core/Common/MathUtil.h b/Source/Core/Common/MathUtil.h index d99d02d28f..8656c4313a 100644 --- a/Source/Core/Common/MathUtil.h +++ b/Source/Core/Common/MathUtil.h @@ -8,7 +8,6 @@ #include #include #include -#include #include "Common/CommonTypes.h" @@ -188,8 +187,6 @@ private: } // namespace MathUtil -float MathFloatVectorSum(const std::vector&); - // Rounds down. 0 -> undefined constexpr int IntLog2(u64 val) { diff --git a/Source/Core/DolphinLib.props b/Source/Core/DolphinLib.props index 0a23ac5c8c..8a463f5a5e 100644 --- a/Source/Core/DolphinLib.props +++ b/Source/Core/DolphinLib.props @@ -773,7 +773,6 @@ -