blob: 4fef1aa2877d640195df3a2c2af603c7ef805d0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
From cf89b5a94411afa9d3f36e9f27e40426f8899bc1 Mon Sep 17 00:00:00 2001
From: Ilya Fedin <fedin-ilja2010@ya.ru>
Date: Sat, 14 Mar 2020 23:35:51 +0400
Subject: [PATCH] Fix build with gcc 9
---
.../SourceFiles/platform/linux/notifications_manager_linux.cpp | 2 +-
Telegram/SourceFiles/platform/linux/specific_linux.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
index 6b9057437d..86382ab812 100644
--- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
@@ -104,7 +104,7 @@ bool Inhibited() {
const QDBusReply<QVariant> reply = QDBusConnection::sessionBus().call(
message);
- constexpr auto notSupportedErrors = {
+ const auto notSupportedErrors = {
QDBusError::ServiceUnknown,
QDBusError::InvalidArgs,
};
diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
index b9c5d3f0b8..916a26360f 100644
--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
@@ -374,7 +374,7 @@ std::optional<crl::time> LastUserInputTime() {
const QDBusReply<uint> reply = QDBusConnection::sessionBus().call(
message);
- constexpr auto notSupportedErrors = {
+ const auto notSupportedErrors = {
QDBusError::ServiceUnknown,
QDBusError::NotSupported,
};
|