From 0862f03be279457f54bfe13155c5779803bbb953 Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 22 Feb 2024 01:12:50 +0300 Subject: [PATCH] Don't mark FolderId constructor as constexpr. --- td/telegram/FolderId.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/FolderId.h b/td/telegram/FolderId.h index bf9752ec5..b3939cc89 100644 --- a/td/telegram/FolderId.h +++ b/td/telegram/FolderId.h @@ -20,7 +20,7 @@ class FolderId { public: FolderId() = default; - explicit constexpr FolderId(int32 folder_id) : id(folder_id) { + explicit FolderId(int32 folder_id) : id(folder_id) { if (id != 1) { id = 0; }