Skip to content

Commit a2cf47b

Browse files
committed
cpplint
Change-Id: Id46ffdfac630f983fe8d97e4cd5c933bee174614
1 parent 3d9fcc2 commit a2cf47b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cpp/src/arrow/ipc/json.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
#include <cstdint>
2121
#include <memory>
22+
#include <string>
23+
#include <vector>
2224

2325
#include "arrow/array.h"
2426
#include "arrow/ipc/json-internal.h"
@@ -38,7 +40,7 @@ namespace ipc {
3840

3941
class JsonWriter::JsonWriterImpl {
4042
public:
41-
JsonWriterImpl(const std::shared_ptr<Schema>& schema) : schema_(schema) {
43+
explicit JsonWriterImpl(const std::shared_ptr<Schema>& schema) : schema_(schema) {
4244
writer_.reset(new RjWriter(string_buffer_));
4345
}
4446

cpp/src/arrow/ipc/json.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#define ARROW_IPC_JSON_H
2222

2323
#include <memory>
24+
#include <string>
2425
#include <vector>
2526

2627
#include "arrow/type_fwd.h"

0 commit comments

Comments
 (0)