summaryrefslogtreecommitdiff
path: root/src/notifications.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 21:23:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 21:23:37 +0300
commit1b553860436238f44a5dd781187ea6361002fcf0 (patch)
tree34241dc8e212d69aa78c8b7642c3fefa9315cb11 /src/notifications.h
parentef7e7319305f040a47c483b71f2e78da7a1d6149 (diff)
downloadManaVerse-1b553860436238f44a5dd781187ea6361002fcf0.tar.gz
ManaVerse-1b553860436238f44a5dd781187ea6361002fcf0.tar.bz2
ManaVerse-1b553860436238f44a5dd781187ea6361002fcf0.tar.xz
ManaVerse-1b553860436238f44a5dd781187ea6361002fcf0.zip
Fix compilation with old gcc and clang.
Diffstat (limited to 'src/notifications.h')
-rw-r--r--src/notifications.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notifications.h b/src/notifications.h
index 0c08c0430..925e634de 100644
--- a/src/notifications.h
+++ b/src/notifications.h
@@ -41,6 +41,7 @@ namespace NotifyManager
struct NotificationInfo final
{
+#ifdef ADVGCC
NotificationInfo(const char *const sound0,
const char *const text0,
const NotifyFlags flags0) :
@@ -50,6 +51,7 @@ namespace NotifyManager
{ }
A_DELETE_COPY(NotificationInfo)
+#endif
const char *sound;
const char *text;