提交 9136fbee 编写于 作者: baowanyu's avatar baowanyu 提交者: Jiangtao Hu

framework: format and lint

上级 290ddaf2
......@@ -64,8 +64,7 @@ TEST(AtomicHashMapTest, int_str) {
}
}
TEST(AtomicHashMapTest, concurrency) {
}
TEST(AtomicHashMapTest, concurrency) {}
} // namespace base
} // namespace cybertron
......
......@@ -16,8 +16,8 @@
#include "cybertron/record/record_writer.h"
#include <iostream>
#include <iomanip>
#include <iostream>
#include "cybertron/common/log.h"
......@@ -59,7 +59,8 @@ void RecordWriter::Close() {
void RecordWriter::SplitOutfile() {
file_writer_.reset(new RecordFileWriter());
if (file_index_ > 99999) {
AWARN << "More than 9999 files had bean recored, will restart counting at 00000.";
AWARN << "More than 9999 record files had been recored, will restart"
<< " counting from 0.";
file_index_ = 0;
}
sstream_.str(std::string());
......
......@@ -20,8 +20,8 @@
#include <stdint.h>
#include <memory>
#include <mutex>
#include <string>
#include <sstream>
#include <string>
#include <unordered_map>
#include "cybertron/common/log.h"
......
......@@ -208,7 +208,7 @@ class CybertronChannelMessage : public ChannelMessage {
mutable std::mutex inner_lock_;
};
#define ChannelMsgSubFactory(ChannelMsgSubClass, MessageType) \
#define ChannelMsgSubFactory(ChannelMsgSubClass, MessageType) \
static ChannelMessage* Instance(const std::string& channelName, \
const std::string& nodeName) { \
ChannelMessage* ret = castErrorCode2Ptr(ErrorCode::NewSubClassFailed); \
......
......@@ -27,7 +27,7 @@ class GeneralChannelMessage
: public CybertronChannelMessage<apollo::cybertron::message::RawMessage> {
public:
ChannelMsgSubFactory(GeneralChannelMessage,
apollo::cybertron::message::RawMessage);
apollo::cybertron::message::RawMessage);
void Render(const Screen* s, int key) override;
~GeneralChannelMessage() {
if (raw_msg_class_) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册