diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-01-26 13:13:55 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-01-26 13:17:58 +0100 |
commit | 70d0ed7f52d0540dd027fecbe59d1a564571de63 (patch) | |
tree | 81ff5ae7a7d68a632a2273be8fc71c7e161fb5af /searchlib | |
parent | 8851b1a403cf1b842ab3310c8f5f0aa3542722e7 (diff) |
Include stdexcept before using std::runtime_error
Diffstat (limited to 'searchlib')
7 files changed, 7 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/aggregation/hitlist.cpp b/searchlib/src/vespa/searchlib/aggregation/hitlist.cpp index 0efe2adfaf9..2cc82d59fff 100644 --- a/searchlib/src/vespa/searchlib/aggregation/hitlist.cpp +++ b/searchlib/src/vespa/searchlib/aggregation/hitlist.cpp @@ -3,6 +3,7 @@ #include "hitlist.h" #include <vespa/vespalib/objects/visit.hpp> #include <algorithm> +#include <stdexcept> namespace search::aggregation { diff --git a/searchlib/src/vespa/searchlib/common/sortspec.cpp b/searchlib/src/vespa/searchlib/common/sortspec.cpp index 694443b00ba..f6ac468b485 100644 --- a/searchlib/src/vespa/searchlib/common/sortspec.cpp +++ b/searchlib/src/vespa/searchlib/common/sortspec.cpp @@ -3,6 +3,7 @@ #include <vespa/vespalib/util/stringfmt.h> #include <vespa/fastlib/text/normwordfolder.h> #include <vespa/vespalib/text/utf8.h> +#include <stdexcept> namespace search { namespace common { diff --git a/searchlib/src/vespa/searchlib/expression/aggregationrefnode.cpp b/searchlib/src/vespa/searchlib/expression/aggregationrefnode.cpp index 4c36960c754..1962cad870a 100644 --- a/searchlib/src/vespa/searchlib/expression/aggregationrefnode.cpp +++ b/searchlib/src/vespa/searchlib/expression/aggregationrefnode.cpp @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "aggregationrefnode.h" #include <vespa/vespalib/util/stringfmt.h> +#include <stdexcept> namespace search { namespace expression { diff --git a/searchlib/src/vespa/searchlib/expression/numericfunctionnode.cpp b/searchlib/src/vespa/searchlib/expression/numericfunctionnode.cpp index eea179f67ff..5b6989b5dc9 100644 --- a/searchlib/src/vespa/searchlib/expression/numericfunctionnode.cpp +++ b/searchlib/src/vespa/searchlib/expression/numericfunctionnode.cpp @@ -1,5 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "numericfunctionnode.h" +#include <stdexcept> namespace search::expression { diff --git a/searchlib/src/vespa/searchlib/expression/resultnode.cpp b/searchlib/src/vespa/searchlib/expression/resultnode.cpp index 66ac81902d8..a99ac01ce2a 100644 --- a/searchlib/src/vespa/searchlib/expression/resultnode.cpp +++ b/searchlib/src/vespa/searchlib/expression/resultnode.cpp @@ -3,6 +3,7 @@ #include "resultnode.h" #include <vespa/vespalib/util/stringfmt.h> #include <vespa/vespalib/util/exception.h> +#include <stdexcept> namespace search { namespace expression { diff --git a/searchlib/src/vespa/searchlib/expression/resultnodes.cpp b/searchlib/src/vespa/searchlib/expression/resultnodes.cpp index fb4652a4d62..69cad65795f 100644 --- a/searchlib/src/vespa/searchlib/expression/resultnodes.cpp +++ b/searchlib/src/vespa/searchlib/expression/resultnodes.cpp @@ -11,6 +11,7 @@ #include <vespa/vespalib/objects/visit.hpp> #include <vespa/vespalib/objects/serializer.hpp> #include <vespa/vespalib/objects/deserializer.hpp> +#include <stdexcept> namespace search::expression { diff --git a/searchlib/src/vespa/searchlib/util/fileutil.cpp b/searchlib/src/vespa/searchlib/util/fileutil.cpp index 559042a8c7a..e38763f9ba8 100644 --- a/searchlib/src/vespa/searchlib/util/fileutil.cpp +++ b/searchlib/src/vespa/searchlib/util/fileutil.cpp @@ -8,6 +8,7 @@ #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> +#include <stdexcept> #include <vespa/log/log.h> LOG_SETUP(".searchlib.util.fileutil"); |