diff options
| author | JosJuice <josjuice@gmail.com> | 2017-04-14 21:07:37 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-04-15 00:41:09 +0200 |
| commit | 2f9df072d6f64a09394bbbe9508d6d6fbcc8e1b5 (patch) | |
| tree | 1f1dace05b49dc8d67367793e7e89ae69d257d6b /Source/Core | |
| parent | 722aca0830aedfde89ccf4bdac7ca51b3eb207a7 (diff) | |
Rename Misc.cpp to CommonFuncs.cpp
Because its only function is declared in CommonFuncs.h.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Common.vcxproj | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Common.vcxproj.filters | 2 | ||||
| -rw-r--r-- | Source/Core/Common/CommonFuncs.cpp (renamed from Source/Core/Common/Misc.cpp) | 0 | ||||
| -rw-r--r-- | Source/Core/Common/CommonFuncs.h | 1 |
5 files changed, 3 insertions, 4 deletions
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 @@ <ClCompile Include="Analytics.cpp" /> <ClCompile Include="CDUtils.cpp" /> <ClCompile Include="ColorUtil.cpp" /> + <ClCompile Include="CommonFuncs.cpp" /> <ClCompile Include="Config\Config.cpp" /> <ClCompile Include="Config\Layer.cpp" /> <ClCompile Include="Config\Section.cpp" /> @@ -177,7 +178,6 @@ <ClCompile Include="MD5.cpp" /> <ClCompile Include="MemArena.cpp" /> <ClCompile Include="MemoryUtil.cpp" /> - <ClCompile Include="Misc.cpp" /> <ClCompile Include="MsgHandler.cpp" /> <ClCompile Include="NandPaths.cpp" /> <ClCompile Include="Network.cpp" /> 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 @@ <ItemGroup> <ClCompile Include="CDUtils.cpp" /> <ClCompile Include="ColorUtil.cpp" /> + <ClCompile Include="CommonFuncs.cpp" /> <ClCompile Include="Config\Config.cpp" /> <ClCompile Include="Config\Layer.cpp" /> <ClCompile Include="Config\Section.cpp" /> @@ -263,7 +264,6 @@ <ClCompile Include="MathUtil.cpp" /> <ClCompile Include="MemArena.cpp" /> <ClCompile Include="MemoryUtil.cpp" /> - <ClCompile Include="Misc.cpp" /> <ClCompile Include="MsgHandler.cpp" /> <ClCompile Include="NandPaths.cpp" /> <ClCompile Include="Network.cpp" /> diff --git a/Source/Core/Common/Misc.cpp b/Source/Core/Common/CommonFuncs.cpp index 69ff018471..69ff018471 100644 --- a/Source/Core/Common/Misc.cpp +++ b/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(); |
