Skip to content

Commit 411e650

Browse files
committed
Fix missing includes of deprecate.h
These files relied on goto_function.h to provide the include, which it won't do in future.
1 parent 16ed35a commit 411e650

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/analyses/ai.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ Author: Daniel Kroening, [email protected]
4949
#include <map>
5050
#include <memory>
5151

52-
#include <util/json.h>
53-
#include <util/xml.h>
52+
#include <util/deprecate.h>
5453
#include <util/expr.h>
54+
#include <util/json.h>
5555
#include <util/make_unique.h>
56+
#include <util/xml.h>
5657

5758
#include <goto-programs/goto_model.h>
5859

src/analyses/ai_domain.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Author: Daniel Kroening, [email protected]
4040
#ifndef CPROVER_ANALYSES_AI_DOMAIN_H
4141
#define CPROVER_ANALYSES_AI_DOMAIN_H
4242

43+
#include <util/deprecate.h>
4344
#include <util/expr.h>
4445
#include <util/json.h>
4546
#include <util/make_unique.h>

src/analyses/ai_storage.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Author: Martin Brain, [email protected]
2323
#ifndef CPROVER_ANALYSES_AI_STORAGE_H
2424
#define CPROVER_ANALYSES_AI_STORAGE_H
2525

26+
#include <util/deprecate.h>
27+
2628
#include <goto-programs/goto_program.h>
2729

2830
#include "ai_domain.h"

0 commit comments

Comments
 (0)