From 078f0b5c90759bdfc256a223e0f686dc14b16539 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 13 Nov 2017 11:27:55 +0800 Subject: [PATCH] option_types.hh: fix unfulfilled dependencies of the header --- src/option_types.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/option_types.hh b/src/option_types.hh index 34e712ee..e1a4a623 100644 --- a/src/option_types.hh +++ b/src/option_types.hh @@ -9,6 +9,7 @@ #include "option.hh" #include "ranges.hh" #include "string.hh" +#include "string_utils.hh" #include "units.hh" #include @@ -235,6 +236,8 @@ inline bool option_add(WorstMatch, StringView) throw runtime_error("no add operation supported for this option type"); } +class Context; + inline void option_update(WorstMatch, const Context&) { throw runtime_error("no update operation supported for this option type");