Skip to content

Commit 6eacff3

Browse files
Clang-format
1 parent 4ca42c6 commit 6eacff3

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/goto-checker/solver_factory.h

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Author: Daniel Kroening, Peter Schrammel
1818

1919
#include <util/options.h>
2020

21+
#include <goto-symex/symex_target_equation.h>
2122
#include <solvers/prop/prop.h>
2223
#include <solvers/prop/prop_conv.h>
2324
#include <solvers/sat/cnf.h>
2425
#include <solvers/sat/satcheck.h>
2526
#include <solvers/smt2/smt2_dec.h>
26-
#include <goto-symex/symex_target_equation.h>
2727

2828
class solver_factoryt
2929
{
@@ -50,19 +50,18 @@ class solver_factoryt
5050
{
5151
}
5252

53-
explicit solvert(std::unique_ptr<prop_convt> p):prop_conv_ptr(std::move(p))
53+
explicit solvert(std::unique_ptr<prop_convt> p)
54+
: prop_conv_ptr(std::move(p))
5455
{
5556
}
5657

57-
solvert(std::unique_ptr<prop_convt> p1, std::unique_ptr<propt> p2):
58-
prop_ptr(std::move(p2)),
59-
prop_conv_ptr(std::move(p1))
58+
solvert(std::unique_ptr<prop_convt> p1, std::unique_ptr<propt> p2)
59+
: prop_ptr(std::move(p2)), prop_conv_ptr(std::move(p1))
6060
{
6161
}
6262

63-
solvert(std::unique_ptr<prop_convt> p1, std::unique_ptr<std::ofstream> p2):
64-
ofstream_ptr(std::move(p2)),
65-
prop_conv_ptr(std::move(p1))
63+
solvert(std::unique_ptr<prop_convt> p1, std::unique_ptr<std::ofstream> p2)
64+
: ofstream_ptr(std::move(p2)), prop_conv_ptr(std::move(p1))
6665
{
6766
}
6867

@@ -80,17 +79,17 @@ class solver_factoryt
8079

8180
void set_prop_conv(std::unique_ptr<prop_convt> p)
8281
{
83-
prop_conv_ptr=std::move(p);
82+
prop_conv_ptr = std::move(p);
8483
}
8584

8685
void set_prop(std::unique_ptr<propt> p)
8786
{
88-
prop_ptr=std::move(p);
87+
prop_ptr = std::move(p);
8988
}
9089

9190
void set_ofstream(std::unique_ptr<std::ofstream> p)
9291
{
93-
ofstream_ptr=std::move(p);
92+
ofstream_ptr = std::move(p);
9493
}
9594

9695
// the objects are deleted in the opposite order they appear below

0 commit comments

Comments
 (0)