diff --git a/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp b/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp index 8090d0d576..c58fb1cc04 100644 --- a/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp +++ b/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp @@ -19,11 +19,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include namespace Editor { -namespace { - -constexpr auto kProfilePhotoSize = 640; - -} // namespace void OpenWithPreparedFile( not_null parent, diff --git a/Telegram/SourceFiles/editor/photo_editor_layer_widget.h b/Telegram/SourceFiles/editor/photo_editor_layer_widget.h index d20f0c13a5..d7fd19a751 100644 --- a/Telegram/SourceFiles/editor/photo_editor_layer_widget.h +++ b/Telegram/SourceFiles/editor/photo_editor_layer_widget.h @@ -25,6 +25,8 @@ class SessionController; namespace Editor { +constexpr auto kProfilePhotoSize = int(640); + struct EditorData; void OpenWithPreparedFile( diff --git a/Telegram/SourceFiles/info/polls/info_polls_results_widget.h b/Telegram/SourceFiles/info/polls/info_polls_results_widget.h index 556ac549bb..6766da4f59 100644 --- a/Telegram/SourceFiles/info/polls/info_polls_results_widget.h +++ b/Telegram/SourceFiles/info/polls/info_polls_results_widget.h @@ -68,5 +68,5 @@ private: }; -} // namespace Settings +} // namespace Polls } // namespace Info