Merge pull request #1 from TeamSpeak-Systems/gcc-fixes
Three fixes to get this lib compiled on linux g++ 4.7.3
This commit is contained in:
commit
ece067ae92
|
|
@ -16,6 +16,7 @@
|
|||
#include <limits>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
|
||||
// base C include files
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
|
|
@ -22,12 +22,6 @@ protected:
|
|||
* @param what
|
||||
*/
|
||||
explicit Exception(const std::string &what) : runtime_error(what) {}
|
||||
|
||||
public:
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~Exception() {}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -23,11 +23,6 @@ public:
|
|||
* @param what
|
||||
*/
|
||||
explicit ProtocolException(const std::string &what) : Exception(what) {}
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~ProtocolException() {}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue