From 66e0adec4dcd53bdfc0693c4b5f3d1aa42841f59 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Tue, 2 Oct 2018 08:16:13 +0300 Subject: [PATCH] Remove unnecessary sstream header from univalue.h sstream is not needed in the header. If there needs to be stream objects as member variables of classes, header iosfwd should be included to make the compilation time of the dependant headers faster by removing unnecessary preprocessing. --- include/univalue.h | 1 - lib/univalue_get.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/univalue.h b/include/univalue.h index 10ce39aec8b..225533ce30b 100644 --- a/include/univalue.h +++ b/include/univalue.h @@ -14,7 +14,6 @@ #include #include -#include // .get_int64() #include // std::pair class UniValue { diff --git a/lib/univalue_get.cpp b/lib/univalue_get.cpp index 19ba5bbc3ec..8b2da7555a0 100644 --- a/lib/univalue_get.cpp +++ b/lib/univalue_get.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include "univalue.h"