[
https://issues.apache.org/jira/browse/AVRO-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pietro Cerutti updated AVRO-1866:
---------------------------------
Status: Patch Available (was: Open)
diff --git a/impl/json/JsonIO.hh b/impl/json/JsonIO.hh
index a5ada2d..15e3557 100644
--- a/impl/json/JsonIO.hh
+++ b/impl/json/JsonIO.hh
@@ -133,7 +133,8 @@ public:
}
};
-struct AVRO_DECL JsonNullFormatter {
+class AVRO_DECL JsonNullFormatter {
+public:
JsonNullFormatter(StreamWriter&) { }
void handleObjectStart() {}
> JsonNullFormatter fwd-declared as class, defined as struct
> ----------------------------------------------------------
>
> Key: AVRO-1866
> URL: https://issues.apache.org/jira/browse/AVRO-1866
> Project: Avro
> Issue Type: Bug
> Components: c++
> Affects Versions: 1.8.1
> Reporter: Pietro Cerutti
> Priority: Minor
>
> JsonNullFormatter is forward-declared as a class at JsonDom.hh:47, then
> defined as struct at JsonIO.hh:136.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)