From cffc6055056f98839fe4be6c7bfc93c28c76d3ee Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Tue, 23 Jul 2019 22:27:20 +0900 Subject: [PATCH 1/2] fix: stop including iostream --- toml/parser.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index d70282a..2917e6d 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -8,7 +8,8 @@ #include "lexer.hpp" #include "types.hpp" #include "value.hpp" -#include +#include +#include #include namespace toml From 5edf43a1d275f46e212d0e11cb1b938e7c0e9486 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Tue, 23 Jul 2019 22:32:32 +0900 Subject: [PATCH 2/2] test: add missing include file to test code --- tests/test_format_error.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_format_error.cpp b/tests/test_format_error.cpp index 7e6c290..df558da 100644 --- a/tests/test_format_error.cpp +++ b/tests/test_format_error.cpp @@ -6,6 +6,7 @@ #include #endif #include +#include // to check it successfully compiles. it does not check the formatted string.