diff --git a/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp b/Telegram/SourceFiles/editor/photo_editor_layer_widget.cpp index 8090d0d57..c58fb1cc0 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 d20f0c13a..d7fd19a75 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 556ac549b..6766da4f5 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