From c8f390d558df3efef289f8c1c9e8c6759888f357 Mon Sep 17 00:00:00 2001 From: nerix Date: Tue, 18 Jul 2023 22:59:17 +0200 Subject: [PATCH] Remove dead macro code (#4726) --- src/common/Version.hpp | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/src/common/Version.hpp b/src/common/Version.hpp index db3ce978f..ab7764e1a 100644 --- a/src/common/Version.hpp +++ b/src/common/Version.hpp @@ -38,42 +38,8 @@ # define CHATTERINO_OS "unknown" #endif -#define CHATTERINO_DECLARE_BUILD_CONSTANTS() \ - namespace chatterino::detail::version { \ - QString gitHash() \ - { \ - return QStringLiteral(CHATTERINO_GIT_HASH); \ - } \ - QString gitRelease() \ - { \ - return QStringLiteral(CHATTERINO_GIT_RELEASE); \ - } \ - QString gitCommit() \ - { \ - return QStringLiteral(CHATTERINO_GIT_COMMIT); \ - } \ - bool gitModified() \ - { \ - return CHATTERINO_GIT_MODIFIED == 1; \ - } \ - QString cmakeGenDate() \ - { \ - return QStringLiteral(CHATTERINO_CMAKE_GEN_DATE); \ - } \ - } // namespace chatterino::detail::version - namespace chatterino { -namespace detail::version { - - extern QString gitHash(); - extern QString gitRelease(); - extern QString gitCommit(); - extern bool gitModified(); - extern QString cmakeGenDate(); - -} // namespace detail::version - class Version { public: