Skip to content

Commit 5f00f86

Browse files
committed
Add missing <functional> include
expr.h should include what it uses, and not rely on nonstd/optional to provide the header.
1 parent 4b5af5d commit 5f00f86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/expr.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Author: Daniel Kroening, [email protected]
1515
#include "validate_types.h"
1616
#include "validation_mode.h"
1717

18+
#include <functional>
19+
1820
#define forall_operands(it, expr) \
1921
for(exprt::operandst::const_iterator \
2022
it = as_const(expr).operands().begin(), \

0 commit comments

Comments
 (0)