49 lines
1.3 KiB
Diff
49 lines
1.3 KiB
Diff
From 8ff28245275eeb0cfe4ed40bd62b97cebbce4861 Mon Sep 17 00:00:00 2001
|
|
From: Vitaly <vitaly@easycoding.org>
|
|
Date: Tue, 16 Jul 2024 12:30:45 +0200
|
|
Subject: [PATCH] Fixed build against fmt 11.
|
|
|
|
---
|
|
src/RegisterPage.cpp | 2 ++
|
|
src/Utils.cpp | 1 +
|
|
src/encryption/DeviceVerificationFlow.cpp | 1 +
|
|
3 files changed, 4 insertions(+)
|
|
|
|
diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp
|
|
index 93e2cf1bb..562d2c82a 100644
|
|
--- a/src/RegisterPage.cpp
|
|
+++ b/src/RegisterPage.cpp
|
|
@@ -4,6 +4,8 @@
|
|
|
|
#include <set>
|
|
|
|
+#include <fmt/ranges.h>
|
|
+
|
|
#include <mtx/responses/common.hpp>
|
|
#include <mtx/responses/register.hpp>
|
|
#include <mtx/responses/version.hpp>
|
|
diff --git a/src/Utils.cpp b/src/Utils.cpp
|
|
index 3e7340f44..99d337c4d 100644
|
|
--- a/src/Utils.cpp
|
|
+++ b/src/Utils.cpp
|
|
@@ -26,6 +26,7 @@
|
|
#include <QWindow>
|
|
#include <QXmlStreamReader>
|
|
|
|
+#include <fmt/ranges.h>
|
|
#include <nlohmann/json.hpp>
|
|
|
|
#include <cmark.h>
|
|
diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp
|
|
index cb595df0e..0757d88cb 100644
|
|
--- a/src/encryption/DeviceVerificationFlow.cpp
|
|
+++ b/src/encryption/DeviceVerificationFlow.cpp
|
|
@@ -9,6 +9,7 @@
|
|
#include <QDateTime>
|
|
#include <QTimer>
|
|
|
|
+#include <fmt/ranges.h>
|
|
#include <nlohmann/json.hpp>
|
|
|
|
#include "Cache.h"
|