aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2020-04-23 17:15:53 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2020-04-23 17:15:53 +0000
commit71098520770fa9bf94f975d804ebc3223b172464 (patch)
tree2f90d5ebe73c5a83fa122e3488890ade4827afb0 /include
parentfa1fef0d768994e43a22eca9be3c1b666ebac832 (diff)
downloadPROJ-71098520770fa9bf94f975d804ebc3223b172464.tar.gz
PROJ-71098520770fa9bf94f975d804ebc3223b172464.zip
io.hpp: avoid dependency to proj_json_streaming_writer.hpp (fixes #2182)
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 3dcf7928..c847f41e 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 {