Code cleanup.

This commit is contained in:
spx 2011-11-12 16:20:41 +00:00
parent deef3b0ab4
commit b207eb1140
5 changed files with 4 additions and 27 deletions

View File

@ -19,13 +19,4 @@
#include "StdAfx.h"
#include "Error.h"
/*
** GetString
**
** Returns the error string
**
*/
const std::wstring& CError::GetString()
{
return m_String;
}
// Leave this file as it is for history on Google code.

View File

@ -26,9 +26,9 @@ class CError
{
public:
CError(const std::wstring& String) : m_String(String) {}
CError(const WCHAR* String ) : m_String(String) {}
CError(const WCHAR* String) : m_String(String) {}
const std::wstring& GetString();
const std::wstring& GetString() { return m_String; }
private:
std::wstring m_String;

View File

@ -307,17 +307,6 @@
<Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Error.cpp">
<Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization>
<BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Use</PrecompiledHeader>
<Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization>
<BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks>
<Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Use</PrecompiledHeader>
<Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Use</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Group.cpp">
<Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization>
<BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks>

View File

@ -39,9 +39,6 @@
<ClCompile Include="ConfigParser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Error.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Group.cpp">
<Filter>Source Files</Filter>
</ClCompile>

View File

@ -69,7 +69,7 @@ public:
};
CTintedImage(const WCHAR* name = L"Image", const WCHAR** configArray = c_DefaultConfigArray, bool disableTransform = false);
virtual ~CTintedImage();
~CTintedImage();
void ReadConfig(CConfigParser& parser, const WCHAR* section);