Commit eb4e367d authored by jehan's avatar jehan

fix compilation issue on debian7

parent f5c63b77
......@@ -230,7 +230,7 @@ endif()
if(ENABLE_SOCI)
find_package(Soci REQUIRED COMPONENTS mysql)
find_path(SOCI_MYSQL_INCLUDES NAMES mysql.h PATH_SUFFIXES mysql HINTS /usr/include/mariadb )
find_path(SOCI_MYSQL_INCLUDES NAMES mysql.h PATH_SUFFIXES mysql HINTS /usr/include/mariadb /usr/local/include)
endif()
......
......@@ -189,7 +189,7 @@ class RelaySession : public std::enable_shared_from_this<RelaySession> {
class MediaFilter {
public:
virtual ~MediaFilter() = default;
virtual ~MediaFilter() {};
/// Should return false if the incoming packet must not be transfered.
virtual bool onIncomingTransfer(uint8_t *data, size_t size, const sockaddr *addr, socklen_t addrlen) = 0;
......
......@@ -24,7 +24,7 @@
class ApplePushNotificationRequest : public PushNotificationRequest {
public:
ApplePushNotificationRequest(const PushInfo &pinfo);
~ApplePushNotificationRequest() { }
~ApplePushNotificationRequest() { };
virtual const std::vector<char> &getData();
virtual std::string isValidResponse(const std::string &str);
virtual bool isServerAlwaysResponding() { return false; }
......
......@@ -55,7 +55,7 @@ class PushNotificationRequest {
Failed
};
virtual ~PushNotificationRequest() = default;
virtual ~PushNotificationRequest() {};
const std::string &getAppIdentifier() {
return mAppId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment