mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Deprecate C_DEBUG definition in favour of standard NDEBUG (#2783)
This commit is contained in:
parent
2db50f1c41
commit
ddba279ff7
2 changed files with 3 additions and 3 deletions
|
@ -134,7 +134,7 @@ namespace {
|
|||
// true.
|
||||
void initSignalHandler()
|
||||
{
|
||||
#ifndef C_DEBUG
|
||||
#ifdef NDEBUG
|
||||
signalsInitTime = std::chrono::steady_clock::now();
|
||||
|
||||
signal(SIGSEGV, handleSignal);
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "widgets/splits/Split.hpp"
|
||||
#include "widgets/splits/SplitContainer.hpp"
|
||||
|
||||
#ifdef C_DEBUG
|
||||
#ifndef NDEBUG
|
||||
# include <rapidjson/document.h>
|
||||
# include "providers/twitch/PubsubClient.hpp"
|
||||
# include "util/SampleCheerMessages.hpp"
|
||||
|
@ -178,7 +178,7 @@ void Window::addCustomTitlebarButtons()
|
|||
|
||||
void Window::addDebugStuff()
|
||||
{
|
||||
#ifdef C_DEBUG
|
||||
#ifndef NDEBUG
|
||||
std::vector<QString> cheerMessages, subMessages, miscMessages, linkMessages,
|
||||
emoteTestMessages;
|
||||
|
||||
|
|
Loading…
Reference in a new issue