Skip to content

Commit 15d2d53

Browse files
authored
Merge pull request #4236 from diffblue/mp_arith_includes
remove two unused includes from util/mp_arith.h
2 parents 6450fb0 + 199df5f commit 15d2d53

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

jbmc/src/java_bytecode/expr2java.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ Author: Daniel Kroening, [email protected]
1111
#define CPROVER_JAVA_BYTECODE_EXPR2JAVA_H
1212

1313
#include <cmath>
14+
#include <limits>
1415
#include <numeric>
1516
#include <sstream>
1617
#include <string>
18+
1719
#include <ansi-c/expr2c_class.h>
1820

1921
class expr2javat:public expr2ct

src/util/arith_tools.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ Author: Daniel Kroening, [email protected]
1010
#ifndef CPROVER_UTIL_ARITH_TOOLS_H
1111
#define CPROVER_UTIL_ARITH_TOOLS_H
1212

13+
#include "deprecate.h"
1314
#include "invariant.h"
1415
#include "mp_arith.h"
1516
#include "optional.h"
1617
#include "std_expr.h"
1718

18-
#include "deprecate.h"
19+
#include <limits>
1920

2021
class typet;
2122

src/util/mp_arith.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ Author: Daniel Kroening, [email protected]
1010
#ifndef CPROVER_UTIL_MP_ARITH_H
1111
#define CPROVER_UTIL_MP_ARITH_H
1212

13-
#include <string>
1413
#include <iosfwd>
15-
#include <limits>
14+
#include <string>
1615

1716
#include "big-int/bigint.hh"
18-
#include "optional.h"
1917
#include "deprecate.h"
2018

2119
// NOLINTNEXTLINE(readability/identifiers)

0 commit comments

Comments
 (0)