From 31b88ede033eaaaa034ead9f98f1a9d601f58541 Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Mon, 11 Sep 2023 17:03:29 +0200 Subject: [PATCH] Fixed forward declaration of PutUnsafe --- include/rapidjson/encodings.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/rapidjson/encodings.h b/include/rapidjson/encodings.h index 50ad18bdc..2b398ece5 100644 --- a/include/rapidjson/encodings.h +++ b/include/rapidjson/encodings.h @@ -83,6 +83,10 @@ concept Encoding { \endcode */ +// Forward declaration. +template +inline void PutUnsafe(Stream& stream, typename Stream::Ch c); + /////////////////////////////////////////////////////////////////////////////// // UTF8 @@ -682,10 +686,6 @@ struct Transcoder { } }; -// Forward declaration. -template -inline void PutUnsafe(Stream& stream, typename Stream::Ch c); - //! Specialization of Transcoder with same source and target encoding. template struct Transcoder {