From 819ba73b17f9e9ce06eab74fd52d8d9d97b0b4ac Mon Sep 17 00:00:00 2001 From: Vlad Lipskiy Date: Tue, 10 May 2016 18:03:03 +0300 Subject: [PATCH] Added missing include guards in istreamwrapper.h and ostreamwrapper.h --- include/rapidjson/istreamwrapper.h | 5 +++++ include/rapidjson/ostreamwrapper.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/include/rapidjson/istreamwrapper.h b/include/rapidjson/istreamwrapper.h index c73586e60..f5fe28977 100644 --- a/include/rapidjson/istreamwrapper.h +++ b/include/rapidjson/istreamwrapper.h @@ -12,6 +12,9 @@ // CONDITIONS OF ANY KIND, either express or implied. See the License for the // specific language governing permissions and limitations under the License. +#ifndef RAPIDJSON_ISTREAMWRAPPER_H_ +#define RAPIDJSON_ISTREAMWRAPPER_H_ + #include "stream.h" #include @@ -108,3 +111,5 @@ RAPIDJSON_DIAG_POP #endif RAPIDJSON_NAMESPACE_END + +#endif // RAPIDJSON_ISTREAMWRAPPER_H_ diff --git a/include/rapidjson/ostreamwrapper.h b/include/rapidjson/ostreamwrapper.h index 8bf36dcd0..6f4667c08 100644 --- a/include/rapidjson/ostreamwrapper.h +++ b/include/rapidjson/ostreamwrapper.h @@ -12,6 +12,9 @@ // CONDITIONS OF ANY KIND, either express or implied. See the License for the // specific language governing permissions and limitations under the License. +#ifndef RAPIDJSON_OSTREAMWRAPPER_H_ +#define RAPIDJSON_OSTREAMWRAPPER_H_ + #include "stream.h" #include @@ -74,3 +77,5 @@ RAPIDJSON_DIAG_POP #endif RAPIDJSON_NAMESPACE_END + +#endif // RAPIDJSON_OSTREAMWRAPPER_H_