summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-25 11:16:24 -0800
committerAndreas Schneider <asn@cryptomilk.org>2016-02-09 09:53:24 +0100
commit8ccdc438ab2c1c1150aec2f75376b2684bd6c16f (patch)
treeacde4b85c0f46f73b8c7f08c973acdfd28ff2e4b
parent36d52545973f9706205dc32f4b921ab9ad77df0b (diff)
downloadandroid_hardware_samsung_slsi_exynos5430-8ccdc438ab2c1c1150aec2f75376b2684bd6c16f.tar.gz
android_hardware_samsung_slsi_exynos5430-8ccdc438ab2c1c1150aec2f75376b2684bd6c16f.tar.xz
android_hardware_samsung_slsi_exynos5430-8ccdc438ab2c1c1150aec2f75376b2684bd6c16f.zip
Fix build after C++11 migration.
More UD literal issues. `using namespace std` should be illegal. Change-Id: If408f360e28acf9159705b9b724c7c083391ff71
-rw-r--r--mobicore/common/LogWrapper/log.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobicore/common/LogWrapper/log.h b/mobicore/common/LogWrapper/log.h
index 3fdca18..78c9f94 100644
--- a/mobicore/common/LogWrapper/log.h
+++ b/mobicore/common/LogWrapper/log.h
@@ -78,8 +78,8 @@
#define LOG_W(fmt, args...) DUMMY_FUNCTION()
#else
// add LINE
- #define LOG_I(fmt, args...) LOG_i(fmt";%d", ## args, __LINE__)
- #define LOG_W(fmt, args...) LOG_w(fmt";%d", ## args, __LINE__)
+ #define LOG_I(fmt, args...) LOG_i(fmt ";%d", ## args, __LINE__)
+ #define LOG_W(fmt, args...) LOG_w(fmt ";%d", ## args, __LINE__)
#endif
// LOG_E is always defined
#define _LOG_E(fmt, args...) LOG_e(fmt, ## args)
@@ -108,10 +108,10 @@
#define LOG_I(fmt, ...) DUMMY_FUNCTION()
#define LOG_W(fmt, ...) DUMMY_FUNCTION()
#else
- #define LOG_I(...) _LOG_x("I",__VA_ARGS__)
- #define LOG_W(...) _LOG_x("W",__VA_ARGS__)
+ #define LOG_I(...) _LOG_x("I", __VA_ARGS__)
+ #define LOG_W(...) _LOG_x("W", __VA_ARGS__)
#endif
- #define _LOG_E(...) _LOG_x("E",__VA_ARGS__)
+ #define _LOG_E(...) _LOG_x("E", __VA_ARGS__)
#define LOG_i(...) printf(__VA_ARGS__)
#define LOG_w(...) printf(__VA_ARGS__)