mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Fix compilation warnings on Windows x64.
This commit is contained in:
@@ -180,6 +180,17 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* \brief Exception thrown when a payload is too large to fit
|
||||
* into a PDUOption.
|
||||
*/
|
||||
class option_payload_too_large : public std::exception {
|
||||
public:
|
||||
const char *what() const throw() {
|
||||
return "Option payload too large";
|
||||
}
|
||||
};
|
||||
|
||||
} // Tins
|
||||
|
||||
#endif // TINS_EXCEPTIONS_H
|
||||
|
||||
Reference in New Issue
Block a user