summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-03-30 21:25:18 +0000
committerFedja Beader <fedja@protonmail.ch>2025-03-30 21:25:18 +0000
commitb4cb2bae6dbe86d6280790c47f4dfd1e80295e99 (patch)
treeb52e91ca16c9b9090e231e1596e4ae02b2aa7373
parent67eb506ca36749d40d9af3a22c32524a3566370c (diff)
downloadmv-b4cb2bae6dbe86d6280790c47f4dfd1e80295e99.tar.gz
mv-b4cb2bae6dbe86d6280790c47f4dfd1e80295e99.tar.bz2
mv-b4cb2bae6dbe86d6280790c47f4dfd1e80295e99.tar.xz
mv-b4cb2bae6dbe86d6280790c47f4dfd1e80295e99.zip
Remove weird/unnecessary newlining of __VA_ARGS__ in checkutils.hHEADmaster
**** mana/plus!150
-rw-r--r--src/utils/checkutils.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h
index 0d20673b8..5ef46110d 100644
--- a/src/utils/checkutils.h
+++ b/src/utils/checkutils.h
@@ -38,8 +38,7 @@ LOGGER_H
#define reportAlwaysReal(...) \
{ \
logger->log("Assert:"); \
- logger->assertLog( \
- __VA_ARGS__); \
+ logger->assertLog(__VA_ARGS__); \
reportLogStack(__FILE__, __LINE__, __func__); \
}
@@ -152,8 +151,7 @@ LOGGER_H
#define failAlways(...) \
{ \
logger->log("Assert:"); \
- logger->assertLog( \
- __VA_ARGS__); \
+ logger->assertLog(__VA_ARGS__); \
reportLogStack(__FILE__, __LINE__, __func__); \
throw new std::exception(); \
}
@@ -178,8 +176,7 @@ void reportStack();
#define reportAlwaysReal(...) \
{ \
logger->log("Error:"); \
- logger->log( \
- __VA_ARGS__); \
+ logger->log(__VA_ARGS__); \
}
#define returnFalseVReal(val) \