From 4a9128b4cb9eb3e0fab6d0b9e8b2099e737d34a2 Mon Sep 17 00:00:00 2001 From: Thomas Novotny Date: Sun, 10 Sep 2017 13:41:36 +0200 Subject: [PATCH 1/2] correct docstring for Value::isString --- include/value.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/value.hpp b/include/value.hpp index 39a236f..6692f58 100644 --- a/include/value.hpp +++ b/include/value.hpp @@ -285,7 +285,7 @@ namespace ubjson { //! Returns whether the contained type is a floating point type (double) bool isFloat() const noexcept; - //! Returns whether the contained type is a floating point type. (double) + //! Returns whether the contained type is \ref ArrayType "Array" bool isArray() const noexcept; //! The same thing as \ref isMap() From cbf2ba153375e1ac76187e5364668ae85c9a19f0 Mon Sep 17 00:00:00 2001 From: Thomas Novotny Date: Sun, 10 Sep 2017 14:55:47 +0200 Subject: [PATCH 2/2] add #include so it compiles with microsoft compiler --- include/types.hpp | 2 ++ include/value.hpp | 2 ++ src/value.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/include/types.hpp b/include/types.hpp index 2fbc57e..c2ff5e2 100644 --- a/include/types.hpp +++ b/include/types.hpp @@ -25,6 +25,8 @@ #ifndef TYPES_HPP #define TYPES_HPP +#include + namespace ubjson { using byte = unsigned char; diff --git a/include/value.hpp b/include/value.hpp index 6692f58..316e5e6 100644 --- a/include/value.hpp +++ b/include/value.hpp @@ -50,6 +50,8 @@ #include #include #include +#include + #include "exception.hpp" #include "iterator.hpp" #include "types.hpp" diff --git a/src/value.cpp b/src/value.cpp index 35b96c1..3f1efb5 100644 --- a/src/value.cpp +++ b/src/value.cpp @@ -13,11 +13,13 @@ #include "value.hpp" + #include #include #include #include #include +#include using namespace ubjson;