summaryrefslogtreecommitdiff
path: root/src/git.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2022-02-15 17:34:51 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2022-02-15 17:34:51 +0000
commit4ac149951b2020b4a6dafb0455d3f523e7c9cfe6 (patch)
tree698d4471463b68bc16ce2f291a0eaab86bcb5e13 /src/git.h
parentBump to C++20 for compat with other libs (diff)
downloadnetfs-gitfs-4ac149951b2020b4a6dafb0455d3f523e7c9cfe6.tar.bz2
netfs-gitfs-4ac149951b2020b4a6dafb0455d3f523e7c9cfe6.tar.xz
netfs-gitfs-4ac149951b2020b4a6dafb0455d3f523e7c9cfe6.zip
Fix up all warnings from all the toolsnetfs-gitfs-0.2.2
Diffstat (limited to 'src/git.h')
-rw-r--r--src/git.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/git.h b/src/git.h
index 46bdb18..1dce92e 100644
--- a/src/git.h
+++ b/src/git.h
@@ -4,9 +4,11 @@
#include <git2.h>
#include <memory>
#include <ostream>
+#include <string>
+#include <string_view>
namespace GitFS::Git {
- template<typename E>[[noreturn]] void throwError(int err);
+ template<typename E> [[noreturn]] void throwError(int err);
template<typename E, typename... P, typename... A>
void