C++: Untabify, reindent, delete trailing whitespace
This commit is contained in:
parent
5b1a666cf1
commit
2b43e7dbda
@ -4,7 +4,7 @@
|
|||||||
// it under the terms of the MIT license. See LICENSE for details.
|
// it under the terms of the MIT license. See LICENSE for details.
|
||||||
|
|
||||||
#if !defined(IN_JANSSON_HPP)
|
#if !defined(IN_JANSSON_HPP)
|
||||||
# error "jansson-impl.hpp may only by included from jansson.hpp"
|
#error "jansson-impl.hpp may only by included from jansson.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace json {
|
namespace json {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
namespace json {
|
namespace json {
|
||||||
// include Jansson C library into the json namespace
|
// include Jansson C library into the json namespace
|
||||||
#include <jansson.h>
|
# include <jansson.h>
|
||||||
|
|
||||||
class Iterator;
|
class Iterator;
|
||||||
class Value;
|
class Value;
|
||||||
|
@ -8,9 +8,12 @@
|
|||||||
do { \
|
do { \
|
||||||
if(!((lhs) op (rhs))) { \
|
if(!((lhs) op (rhs))) { \
|
||||||
std::cerr << std::boolalpha; \
|
std::cerr << std::boolalpha; \
|
||||||
std::cerr << __FILE__ << '[' << __LINE__ << "]: ERROR: " << (m) << std::endl; \
|
std::cerr << __FILE__ << '[' << __LINE__ << "]: ERROR: " \
|
||||||
std::cerr << "\ttest: " << #lhs << ' ' << #op << ' ' << #rhs << std::endl; \
|
<< (m) << std::endl; \
|
||||||
std::cerr << "\tresult: " << (lhs) << ' ' << #op << ' ' << (rhs) << std::endl; \
|
std::cerr << "\ttest: " << #lhs << ' ' << #op << ' ' \
|
||||||
|
<< #rhs << std::endl; \
|
||||||
|
std::cerr << "\tresult: " << (lhs) << ' ' << #op << ' ' \
|
||||||
|
<< (rhs) << std::endl; \
|
||||||
return 1; \
|
return 1; \
|
||||||
} \
|
} \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user