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 <limits>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
// base C include files
|
// base C include files
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,6 @@ protected:
|
||||||
* @param what
|
* @param what
|
||||||
*/
|
*/
|
||||||
explicit Exception(const std::string &what) : runtime_error(what) {}
|
explicit Exception(const std::string &what) : runtime_error(what) {}
|
||||||
|
|
||||||
public:
|
|
||||||
/**
|
|
||||||
* Destructor
|
|
||||||
*/
|
|
||||||
virtual ~Exception() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -23,11 +23,6 @@ public:
|
||||||
* @param what
|
* @param what
|
||||||
*/
|
*/
|
||||||
explicit ProtocolException(const std::string &what) : Exception(what) {}
|
explicit ProtocolException(const std::string &what) : Exception(what) {}
|
||||||
|
|
||||||
/**
|
|
||||||
* Destructor
|
|
||||||
*/
|
|
||||||
virtual ~ProtocolException() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue