From 2f9df072d6f64a09394bbbe9508d6d6fbcc8e1b5 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 14 Apr 2017 21:07:37 +0200 Subject: [PATCH] Rename Misc.cpp to CommonFuncs.cpp Because its only function is declared in CommonFuncs.h. --- Source/Core/Common/CMakeLists.txt | 2 +- Source/Core/Common/Common.vcxproj | 2 +- Source/Core/Common/Common.vcxproj.filters | 2 +- Source/Core/Common/{Misc.cpp => CommonFuncs.cpp} | 0 Source/Core/Common/CommonFuncs.h | 1 - 5 files changed, 3 insertions(+), 4 deletions(-) rename Source/Core/Common/{Misc.cpp => CommonFuncs.cpp} (100%) diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index 898b3dd204..a42f4d24f4 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -2,6 +2,7 @@ set(SRCS Analytics.cpp CDUtils.cpp ColorUtil.cpp + CommonFuncs.cpp Config/Config.cpp Config/Layer.cpp Config/Section.cpp @@ -15,7 +16,6 @@ set(SRCS MathUtil.cpp MemArena.cpp MemoryUtil.cpp - Misc.cpp MsgHandler.cpp NandPaths.cpp Network.cpp diff --git a/Source/Core/Common/Common.vcxproj b/Source/Core/Common/Common.vcxproj index a00a8d488e..15418f6b29 100644 --- a/Source/Core/Common/Common.vcxproj +++ b/Source/Core/Common/Common.vcxproj @@ -158,6 +158,7 @@ + @@ -177,7 +178,6 @@ - diff --git a/Source/Core/Common/Common.vcxproj.filters b/Source/Core/Common/Common.vcxproj.filters index ff6b9ad7fc..4cd0ac4af8 100644 --- a/Source/Core/Common/Common.vcxproj.filters +++ b/Source/Core/Common/Common.vcxproj.filters @@ -252,6 +252,7 @@ + @@ -263,7 +264,6 @@ - diff --git a/Source/Core/Common/Misc.cpp b/Source/Core/Common/CommonFuncs.cpp similarity index 100% rename from Source/Core/Common/Misc.cpp rename to Source/Core/Common/CommonFuncs.cpp diff --git a/Source/Core/Common/CommonFuncs.h b/Source/Core/Common/CommonFuncs.h index fe0a6f5a1a..cc0f19cc7a 100644 --- a/Source/Core/Common/CommonFuncs.h +++ b/Source/Core/Common/CommonFuncs.h @@ -89,5 +89,4 @@ __declspec(dllimport) void __stdcall DebugBreak(void); // Generic function to get last error message. // Call directly after the command or use the error num. // This function might change the error code. -// Defined in Misc.cpp. std::string GetLastErrorMsg();