summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-12 15:25:04 +0100
committertastytea2020-01-12 15:25:04 +0100
commit7fc19639b16f4f2c08a30f15ab44b9efaba65835 (patch)
treecfb3296095debeb7537b5f3b21045df5a88eb7eb
parent20410ece28b3ad523f1b4cd7fcb9ca99390b75e3 (diff)
downloadmastodonpp-7fc19639b16f4f2c08a30f15ab44b9efaba65835.tar
mastodonpp-7fc19639b16f4f2c08a30f15ab44b9efaba65835.tar.gz
mastodonpp-7fc19639b16f4f2c08a30f15ab44b9efaba65835.zip
Add missing header.
-rw-r--r--include/answer.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/answer.hpp b/include/answer.hpp
index b0cafdf..b820a70 100644
--- a/include/answer.hpp
+++ b/include/answer.hpp
@@ -18,6 +18,7 @@
#define MASTODONPP_ANSWER_HPP
#include <cstdint>
+#include <ostream>
#include <string>
#include <string_view>
@@ -26,6 +27,7 @@ namespace mastodonpp
using std::uint8_t;
using std::uint16_t;
+using std::ostream;
using std::string;
using std::string_view;
@@ -97,8 +99,7 @@ struct answer_type
*
* @since 0.1.0
*/
- friend std::ostream &operator <<(std::ostream &out,
- const answer_type &answer);
+ friend ostream &operator <<(ostream &out, const answer_type &answer);
/*!
* @brief Returns the value of a header field.