aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-04-09 11:52:26 +0200
committerTor Egge <Tor.Egge@online.no>2024-04-09 11:52:26 +0200
commita5c6cbe2198bb6ad2a9c5c1b6c821d692ff0eac0 (patch)
tree3e4ae760683548e1fe719ef92f910694cf90de85 /searchlib
parent7a5047b9cb7c1ad40bc69dbacfbbbeafbe15b83a (diff)
Turn off restrict warning when compiling with gcc 12 on ubuntu 22.04
or debian 12. Include cstddef to get definition of size_t.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/expression/simple_interpolate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/expression/simple_interpolate.cpp b/searchlib/src/vespa/searchlib/expression/simple_interpolate.cpp
index a3f8d55dec1..28ded485f83 100644
--- a/searchlib/src/vespa/searchlib/expression/simple_interpolate.cpp
+++ b/searchlib/src/vespa/searchlib/expression/simple_interpolate.cpp
@@ -1,6 +1,7 @@
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "simple_interpolate.h"
+#include <cstddef>
namespace search::expression {