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:
Emiel Bruijntjes 2014-03-03 17:37:06 +01:00
commit ece067ae92
3 changed files with 1 additions and 11 deletions

View File

@ -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>

View File

@ -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() {}
}; };
/** /**

View File

@ -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() {}
}; };
/** /**