diff options
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAException.h')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/WAException.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAException.h b/protocols/WhatsApp/src/WhatsAPI++/WAException.h index 47d5cdfaf7..4255850ffc 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAException.h +++ b/protocols/WhatsApp/src/WhatsAPI++/WAException.h @@ -32,9 +32,9 @@ public: static const int SOCKET_EX_SEND = 3;
static const int SOCKET_EX_RECV = 4;
- WAException(const std::string& err): runtime_error(err) {this->type = 0; this->subtype = 0; this->expire_date = 0;};
- WAException(const std::string& err, int type, int subtype): runtime_error(err), type(type), subtype(subtype), expire_date(0) {};
- WAException(const std::string& err, int type, int subtype, time_t expireDate): runtime_error(err), type(type), subtype(subtype), expire_date(expireDate) {};
+ WAException(const std::string &err): runtime_error(err) {this->type = 0; this->subtype = 0; this->expire_date = 0;};
+ WAException(const std::string &err, int type, int subtype): runtime_error(err), type(type), subtype(subtype), expire_date(0) {};
+ WAException(const std::string &err, int type, int subtype, time_t expireDate): runtime_error(err), type(type), subtype(subtype), expire_date(expireDate) {};
};
#endif /* WAEXCEPTION_H_ */
|