From 840bb447ba1d2e42eff0441dbd9d51b4452a4343 Mon Sep 17 00:00:00 2001 From: Nicholas Guriev Date: Tue, 10 Aug 2021 23:38:11 +0300 Subject: [PATCH] Mention some missing includes in payments/ subdirectory --- .../SourceFiles/payments/smartglocal/smartglocal_api_client.h | 1 + .../SourceFiles/payments/smartglocal/smartglocal_callbacks.h | 2 ++ Telegram/SourceFiles/payments/smartglocal/smartglocal_card.cpp | 2 ++ Telegram/SourceFiles/payments/stripe/stripe_api_client.h | 1 + Telegram/SourceFiles/payments/stripe/stripe_card_validator.cpp | 1 + Telegram/SourceFiles/payments/stripe/stripe_card_validator.h | 1 + Telegram/SourceFiles/payments/stripe/stripe_decode.h | 1 + Telegram/SourceFiles/payments/stripe/stripe_form_encoder.cpp | 1 + 8 files changed, 10 insertions(+) diff --git a/Telegram/SourceFiles/payments/smartglocal/smartglocal_api_client.h b/Telegram/SourceFiles/payments/smartglocal/smartglocal_api_client.h index 6bf866d493..b418188cb0 100644 --- a/Telegram/SourceFiles/payments/smartglocal/smartglocal_api_client.h +++ b/Telegram/SourceFiles/payments/smartglocal/smartglocal_api_client.h @@ -13,6 +13,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include #include #include +#include namespace SmartGlocal { diff --git a/Telegram/SourceFiles/payments/smartglocal/smartglocal_callbacks.h b/Telegram/SourceFiles/payments/smartglocal/smartglocal_callbacks.h index e200aec3b4..53cecceb2d 100644 --- a/Telegram/SourceFiles/payments/smartglocal/smartglocal_callbacks.h +++ b/Telegram/SourceFiles/payments/smartglocal/smartglocal_callbacks.h @@ -7,6 +7,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once +#include + namespace SmartGlocal { class Token; diff --git a/Telegram/SourceFiles/payments/smartglocal/smartglocal_card.cpp b/Telegram/SourceFiles/payments/smartglocal/smartglocal_card.cpp index f0f4b95a9e..0423216ec6 100644 --- a/Telegram/SourceFiles/payments/smartglocal/smartglocal_card.cpp +++ b/Telegram/SourceFiles/payments/smartglocal/smartglocal_card.cpp @@ -7,6 +7,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #include "smartglocal/smartglocal_card.h" +#include + namespace SmartGlocal { Card::Card( diff --git a/Telegram/SourceFiles/payments/stripe/stripe_api_client.h b/Telegram/SourceFiles/payments/stripe/stripe_api_client.h index 020df992d9..8fc26eb822 100644 --- a/Telegram/SourceFiles/payments/stripe/stripe_api_client.h +++ b/Telegram/SourceFiles/payments/stripe/stripe_api_client.h @@ -14,6 +14,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include #include #include +#include namespace Stripe { diff --git a/Telegram/SourceFiles/payments/stripe/stripe_card_validator.cpp b/Telegram/SourceFiles/payments/stripe/stripe_card_validator.cpp index aa2482c092..7930b4eaf4 100644 --- a/Telegram/SourceFiles/payments/stripe/stripe_card_validator.cpp +++ b/Telegram/SourceFiles/payments/stripe/stripe_card_validator.cpp @@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "stripe/stripe_card_validator.h" #include +#include namespace Stripe { namespace { diff --git a/Telegram/SourceFiles/payments/stripe/stripe_card_validator.h b/Telegram/SourceFiles/payments/stripe/stripe_card_validator.h index 417d4d9588..744af0814a 100644 --- a/Telegram/SourceFiles/payments/stripe/stripe_card_validator.h +++ b/Telegram/SourceFiles/payments/stripe/stripe_card_validator.h @@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #pragma once #include "stripe/stripe_card.h" +#include namespace Stripe { diff --git a/Telegram/SourceFiles/payments/stripe/stripe_decode.h b/Telegram/SourceFiles/payments/stripe/stripe_decode.h index 41edb34458..5b0b0e1524 100644 --- a/Telegram/SourceFiles/payments/stripe/stripe_decode.h +++ b/Telegram/SourceFiles/payments/stripe/stripe_decode.h @@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #pragma once #include +#include namespace Stripe { diff --git a/Telegram/SourceFiles/payments/stripe/stripe_form_encoder.cpp b/Telegram/SourceFiles/payments/stripe/stripe_form_encoder.cpp index a604250761..2f8f61f081 100644 --- a/Telegram/SourceFiles/payments/stripe/stripe_form_encoder.cpp +++ b/Telegram/SourceFiles/payments/stripe/stripe_form_encoder.cpp @@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include #include +#include namespace Stripe {