From e0c84aee70a02923813b1f11dfbd5b4aa6168e0b Mon Sep 17 00:00:00 2001 From: Mikael Arguedas Date: Sat, 18 Nov 2017 11:49:50 -0800 Subject: [PATCH] use namespaced macros instead of deprecated macros --- tools/rosbag_storage/src/bz2_stream.cpp | 2 +- tools/rosbag_storage/src/lz4_stream.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rosbag_storage/src/bz2_stream.cpp b/tools/rosbag_storage/src/bz2_stream.cpp index 78e175381e..53bc9d5295 100644 --- a/tools/rosbag_storage/src/bz2_stream.cpp +++ b/tools/rosbag_storage/src/bz2_stream.cpp @@ -127,7 +127,7 @@ void BZ2Stream::read(void* ptr, size_t size) { case BZ_OK: return; case BZ_STREAM_END: if (getUnused() || getUnusedLength() > 0) - logError("unused data already available"); + CONSOLE_BRIDGE_logError("unused data already available"); else { char* unused; int nUnused; diff --git a/tools/rosbag_storage/src/lz4_stream.cpp b/tools/rosbag_storage/src/lz4_stream.cpp index 297bcf7b33..d13f241b02 100644 --- a/tools/rosbag_storage/src/lz4_stream.cpp +++ b/tools/rosbag_storage/src/lz4_stream.cpp @@ -176,7 +176,7 @@ void LZ4Stream::read(void* ptr, size_t size) { case ROSLZ4_OK: break; case ROSLZ4_STREAM_END: if (getUnused() || getUnusedLength() > 0) - logError("unused data already available"); + CONSOLE_BRIDGE_logError("unused data already available"); else { setUnused(lz4s_.input_next); setUnusedLength(lz4s_.input_left);