mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 18:30:02 +00:00
@@ -112,7 +112,7 @@ class FlatBufPrinter : public grpc_cpp_generator::Printer {
|
|||||||
// Current indentation.
|
// Current indentation.
|
||||||
str_->insert(str_->end(), indent_ * 2, ' ');
|
str_->insert(str_->end(), indent_ * 2, ' ');
|
||||||
// See if this contains more than one line.
|
// See if this contains more than one line.
|
||||||
auto lf = strchr(s, '\n');
|
const char * lf = strchr(s, '\n');
|
||||||
if (lf) {
|
if (lf) {
|
||||||
(*str_) += std::string(s, lf + 1);
|
(*str_) += std::string(s, lf + 1);
|
||||||
s = lf + 1;
|
s = lf + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user