aboutsummaryrefslogtreecommitdiff
path: root/include/proj
diff options
context:
space:
mode:
Diffstat (limited to 'include/proj')
-rw-r--r--include/proj/io.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index f07f78b8..1620c1fe 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -38,11 +38,12 @@
#include "proj.h"
-#include "proj_json_streaming_writer.hpp"
#include "util.hpp"
NS_PROJ_START
+class CPLJSonStreamingWriter;
+
namespace common {
class UnitOfMeasure;
using UnitOfMeasurePtr = std::shared_ptr<UnitOfMeasure>;
@@ -490,7 +491,7 @@ class PROJ_GCC_DLL JSONFormatter {
PROJ_PRIVATE :
//! @cond Doxygen_Suppress
- PROJ_INTERNAL CPLJSonStreamingWriter &
+ PROJ_INTERNAL CPLJSonStreamingWriter *
writer() const;
struct ObjectContext {