martin-g commented on code in PR #2055:
URL: https://github.com/apache/avro/pull/2055#discussion_r1067822975
##########
lang/c++/impl/avrogencpp.cc:
##########
@@ -108,16 +104,25 @@ class CodeGen {
void generateRecordTraits(const NodePtr &n);
void generateUnionTraits(const NodePtr &n);
void emitCopyright();
+ void emitGeneratedWarning();
public:
CodeGen(std::ostream &os, std::string ns,
std::string schemaFile, std::string headerFile,
std::string guardString,
- std::string includePrefix, bool noUnion) : unionNumber_(0),
os_(os), inNamespace_(false), ns_(std::move(ns)),
+ std::string includePrefix, bool noUnion, bool useCpp17) :
unionNumber_(0), os_(os), inNamespace_(false), ns_(std::move(ns)),
schemaFile_(std::move(schemaFile)), headerFile_(std::move(headerFile)),
-
includePrefix_(std::move(includePrefix)), noUnion_(noUnion),
+
includePrefix_(std::move(includePrefix)), noUnion_(noUnion),
useCpp17_(useCpp17),
Review Comment:
unnecessary leading empty space
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]