summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-05-08 14:32:43 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-05-08 14:32:43 +0100
commit0c48e9d5288bf0b21be92dca5cbe0eb9451a9e33 (patch)
tree008a091c1bd8d91a6d748d792cf1ab94c94ff830 /service
parentGet glibmm and libxml2 flags from pkg-config (diff)
downloadmirrorsearch-0c48e9d5288bf0b21be92dca5cbe0eb9451a9e33.tar.bz2
mirrorsearch-0c48e9d5288bf0b21be92dca5cbe0eb9451a9e33.tar.xz
mirrorsearch-0c48e9d5288bf0b21be92dca5cbe0eb9451a9e33.zip
Fix for compile with GCC 10mirrorsearch-0.2.1.2
Diffstat (limited to 'service')
-rw-r--r--service/uptr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/uptr.h b/service/uptr.h
index 1de1f99..17eb28d 100644
--- a/service/uptr.h
+++ b/service/uptr.h
@@ -3,6 +3,7 @@
#include <memory>
#include <functional>
+#include <stdexcept>
namespace MirrorSearch {
typedef std::function<void(const std::string &)> OnError;