Changed debug.hpp to respect 80 char rule.
This commit is contained in:
parent
baf417ce69
commit
43fd2aae6e
|
@ -1,6 +1,6 @@
|
||||||
/* This file is part of mastodon-cpp.
|
/* This file is part of mastodon-cpp.
|
||||||
* Copyright © 2018 tastytea <tastytea@tastytea.de>
|
* Copyright © 2018, 2019 tastytea <tastytea@tastytea.de>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, version 3.
|
* the Free Software Foundation, version 3.
|
||||||
|
@ -20,7 +20,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define ttdebug std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] DEBUG: "
|
#define ttdebug \
|
||||||
|
std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] DEBUG: "
|
||||||
#else
|
#else
|
||||||
#define ttdebug false && std::cerr
|
#define ttdebug false && std::cerr
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in New Issue