Browse Source

Remove unused hsBadAlloc exception

Michael Hansen 10 years ago
parent
commit
165ab66e87
  1. 6
      Sources/Plasma/CoreLib/hsExceptions.h

6
Sources/Plasma/CoreLib/hsExceptions.h

@ -51,7 +51,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
enum hsErrorEnum { enum hsErrorEnum {
kNo_hsError, kNo_hsError,
kBadAlloc_hsError,
kNilParam_hsError, kNilParam_hsError,
kBadParam_hsError, kBadParam_hsError,
kInternal_hsError, kInternal_hsError,
@ -68,11 +67,6 @@ public:
hsException(hsErrorEnum error, long param = 0) : fError(error), fParam(param) {} hsException(hsErrorEnum error, long param = 0) : fError(error), fParam(param) {}
}; };
class hsBadAllocException : public hsException {
public:
hsBadAllocException() : hsException(kBadAlloc_hsError) {}
};
class hsNilParamException : public hsException { class hsNilParamException : public hsException {
public: public:
hsNilParamException() : hsException(kNilParam_hsError) {} hsNilParamException() : hsException(kNilParam_hsError) {}

Loading…
Cancel
Save