summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-03-04 21:30:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-03-04 21:30:57 +0000
commit61eab66e9c5925bf727530c4f00d7e1e87b17941 (patch)
treec5ff2508330189ed908bbf5e5311a34548a73a8c
parentAdd modify support to db client (diff)
downloadicetray-61eab66e9c5925bf727530c4f00d7e1e87b17941.tar.bz2
icetray-61eab66e9c5925bf727530c4f00d7e1e87b17941.tar.xz
icetray-61eab66e9c5925bf727530c4f00d7e1e87b17941.zip
Fix string_view_support includes
-rw-r--r--icetray/icetray/string_view_support.cpp1
-rw-r--r--icetray/icetray/string_view_support.h7
2 files changed, 7 insertions, 1 deletions
diff --git a/icetray/icetray/string_view_support.cpp b/icetray/icetray/string_view_support.cpp
new file mode 100644
index 0000000..0143494
--- /dev/null
+++ b/icetray/icetray/string_view_support.cpp
@@ -0,0 +1 @@
+#include "string_view_support.h"
diff --git a/icetray/icetray/string_view_support.h b/icetray/icetray/string_view_support.h
index 12d8077..3d54499 100644
--- a/icetray/icetray/string_view_support.h
+++ b/icetray/icetray/string_view_support.h
@@ -1,9 +1,14 @@
#ifndef ICETRAY_STRING_VIEW_SUPPORT_H
#define ICETRAY_STRING_VIEW_SUPPORT_H
-#include <Ice/OutputStream.h>
+#include <Ice/Exception.h> // IWYU pragma: keep
+#include <Ice/Object.h> // IWYU pragma: keep
#include <Ice/StreamHelpers.h>
+#include <cstddef>
#include <string_view>
+namespace Ice {
+ template<typename T, Ice::StreamHelperCategory st> struct StreamHelper;
+}
namespace Ice {
template<> struct StreamableTraits<std::string_view> {