aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-04-23 19:15:22 +0200
committerGitHub <noreply@github.com>2020-04-23 19:15:22 +0200
commitb0e5448982b4e12db9a664ac96089a14375cb55d (patch)
tree7875e6eb0d25185d23f06b02c56b9e827d0a6825 /include
parentf5f0efe5eb6b76cfe0498835da268c2492f3fe58 (diff)
downloadPROJ-b0e5448982b4e12db9a664ac96089a14375cb55d.tar.gz
PROJ-b0e5448982b4e12db9a664ac96089a14375cb55d.zip
io.hpp: avoid dependency to proj_json_streaming_writer.hpp (fixes #2182) (#2183)
Diffstat (limited to 'include')
-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 {