Commit 080f90fd authored by Ben Hymers's avatar Ben Hymers
Browse files

Removed unimplemented private default constructors - they serve no purpose!

Strangely Effect had an implementation, though it's still private
parent c546989f
...@@ -46,10 +46,6 @@ namespace OIS ...@@ -46,10 +46,6 @@ namespace OIS
*/ */
class _OISExport Effect class _OISExport Effect
{ {
/**
hidden so this class cannot be instanced with default constructor
*/
Effect();
public: public:
//! Type of force //! Type of force
enum EForce enum EForce
......
...@@ -50,8 +50,6 @@ namespace OIS ...@@ -50,8 +50,6 @@ namespace OIS
*/ */
class _OISExport Exception : public std::exception class _OISExport Exception : public std::exception
{ {
//! Hidden default
Exception() : eType(E_General), eLine(0), eFile(0) {}
public: public:
//! Creates exception object //! Creates exception object
Exception( OIS_ERROR err, const char* str, int line, const char *file ) Exception( OIS_ERROR err, const char* str, int line, const char *file )
......
...@@ -64,15 +64,6 @@ const char* Effect::getDirectionName(Effect::EDirection eValue) ...@@ -64,15 +64,6 @@ const char* Effect::getDirectionName(Effect::EDirection eValue)
return (eValue >= 0 && eValue < _DirectionsNumber) ? pszEDirectionString[eValue] : "<Bad direction>"; return (eValue >= 0 && eValue < _DirectionsNumber) ? pszEDirectionString[eValue] : "<Bad direction>";
} }
//------------------------------------------------------------------------------//
Effect::Effect() :
force(UnknownForce),
type(Unknown),
effect(0),
axes(1)
{
}
//------------------------------------------------------------------------------// //------------------------------------------------------------------------------//
Effect::Effect(EForce ef, EType et) : Effect::Effect(EForce ef, EType et) :
force(ef), force(ef),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment