fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)
bye bye nuuls
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "AbstractIrcServer.hpp"
|
||||
#include "providers/irc/AbstractIrcServer.hpp"
|
||||
|
||||
#include "common/Channel.hpp"
|
||||
#include "common/QLogging.hpp"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Irc2.hpp"
|
||||
#include "providers/irc/Irc2.hpp"
|
||||
|
||||
#include "Application.hpp"
|
||||
#include "common/Credentials.hpp"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IrcAccount.hpp"
|
||||
#include "providers/irc/IrcAccount.hpp"
|
||||
|
||||
// namespace chatterino {
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IrcChannel2.hpp"
|
||||
#include "providers/irc/IrcChannel2.hpp"
|
||||
|
||||
#include "common/Channel.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IrcCommands.hpp"
|
||||
#include "providers/irc/IrcCommands.hpp"
|
||||
|
||||
#include "messages/MessageBuilder.hpp"
|
||||
#include "providers/irc/IrcChannel2.hpp"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IrcConnection2.hpp"
|
||||
#include "providers/irc/IrcConnection2.hpp"
|
||||
|
||||
#include "common/QLogging.hpp"
|
||||
#include "common/Version.hpp"
|
||||
@@ -11,7 +11,7 @@ namespace chatterino {
|
||||
|
||||
namespace {
|
||||
|
||||
const auto payload = QString("chatterino/" CHATTERINO_VERSION);
|
||||
const auto payload = "chatterino/" + CHATTERINO_VERSION;
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IrcServer.hpp"
|
||||
#include "providers/irc/IrcServer.hpp"
|
||||
|
||||
#include "Application.hpp"
|
||||
#include "common/QLogging.hpp"
|
||||
|
||||
Reference in New Issue
Block a user