summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-02-17 03:54:03 +0300
committerEd Tanous <ed@tanous.net>2023-02-17 06:28:30 +0300
commit6a04e0d26b3e2339112f31a787700c3da47294de (patch)
treef6139e5fa54ea6c2ef2782cfe5b6eb5ee4e7ee10
parent50ebd4af91ece2e7b5e75b600f83a2a74b315068 (diff)
downloadbmcweb-6a04e0d26b3e2339112f31a787700c3da47294de.tar.xz
Fix missing include
This arguably isn't a missing include in boost::beast, but because beast only includes iofwd (the forward declaration of iostreams) we need to include the full header here, to support converting the verb to and from strings. Tested: clang-tidy stops complaining. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I93a930e456617cead3ff3928d29c2bfea3163ba6
-rw-r--r--http/verb.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/http/verb.hpp b/http/verb.hpp
index 8eec68a352..4213604992 100644
--- a/http/verb.hpp
+++ b/http/verb.hpp
@@ -2,6 +2,7 @@
#include <boost/beast/http/verb.hpp>
+#include <iostream>
#include <optional>
#include <string_view>