summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2013-07-25 12:57:31 +0530
committerUbuntu <vishal.bhoj@linaro.org>2014-06-05 09:54:02 +0000
commitfea3a7a54d55587337a9d035b2e3e72cac58785b (patch)
tree8371b7928f38970fe182bb8a02a5b837ecc4757d
parent9c7db08049e1d36c2f60dd703f27c432bc8cfbc5 (diff)
downloadnative-fea3a7a54d55587337a9d035b2e3e72cac58785b.tar.gz
frameworks/native: Fix build in ISO C++ 11 mode
Fix constructs that are considered new string literals in C++ 11 mode Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--libs/gui/BufferQueue.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/gui/BufferQueue.cpp b/libs/gui/BufferQueue.cpp
index 2aecb67788..61650b9df2 100644
--- a/libs/gui/BufferQueue.cpp
+++ b/libs/gui/BufferQueue.cpp
@@ -34,11 +34,11 @@
#include <utils/CallStack.h>
// Macros for including the BufferQueue name in log messages
-#define ST_LOGV(x, ...) ALOGV("[%s] "x, mConsumerName.string(), ##__VA_ARGS__)
-#define ST_LOGD(x, ...) ALOGD("[%s] "x, mConsumerName.string(), ##__VA_ARGS__)
-#define ST_LOGI(x, ...) ALOGI("[%s] "x, mConsumerName.string(), ##__VA_ARGS__)
-#define ST_LOGW(x, ...) ALOGW("[%s] "x, mConsumerName.string(), ##__VA_ARGS__)
-#define ST_LOGE(x, ...) ALOGE("[%s] "x, mConsumerName.string(), ##__VA_ARGS__)
+#define ST_LOGV(x, ...) ALOGV("[%s] " x, mConsumerName.string(), ##__VA_ARGS__)
+#define ST_LOGD(x, ...) ALOGD("[%s] " x, mConsumerName.string(), ##__VA_ARGS__)
+#define ST_LOGI(x, ...) ALOGI("[%s] " x, mConsumerName.string(), ##__VA_ARGS__)
+#define ST_LOGW(x, ...) ALOGW("[%s] " x, mConsumerName.string(), ##__VA_ARGS__)
+#define ST_LOGE(x, ...) ALOGE("[%s] " x, mConsumerName.string(), ##__VA_ARGS__)
#define ATRACE_BUFFER_INDEX(index) \
if (ATRACE_ENABLED()) { \