diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-01-19 19:55:08 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-01-19 19:55:08 +0100 |
commit | 9f56f0c2326b3b566080e5af9026d508ec639825 (patch) | |
tree | 5d00c026213b451eba8546cca99b3560930aef67 | |
parent | b8f307abae6908a517d4562ffab3569aefb042e3 (diff) |
UNUSED() macro
-rw-r--r-- | src/common.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp index 5ab9cf2..48912dc 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -38,6 +38,7 @@ namespace antpm { #define LOG_VAR3(x,y, z) do { LOG(antpm::LOG_INF) << #x "= " << x << ", " #y "= " << y << ", " #z "= " << z << std::endl; } while(0) #define LOG_VAR4(x,y, z, w) do { LOG(antpm::LOG_INF) << #x "= " << x << ", " #y "= " << y << ", " #z "= " << z << ", " #w "= " << w << std::endl; } while(0) #define LOG_VAR5(x,y, z, w,v) do { LOG(antpm::LOG_INF) << #x "= " << x << ", " #y "= " << y << ", " #z "= " << z << ", " #w "= " << w << ", " #v "= " << v << std::endl; } while(0) +#define UNUSED(x) (void)(x) //std::ostream& logger(); #define logger() LOG(antpm::LOG_INF) |