Skip to content

Commit b3815d3

Browse files
committed
update include guards (lp and cp)
1 parent 624f390 commit b3815d3

27 files changed

+81
-81
lines changed

ortools/constraint_solver/constraint_solver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
///
6666
///
6767

68-
#ifndef OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_
69-
#define OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_
68+
#ifndef ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_
69+
#define ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_
7070

7171
#include <stddef.h>
7272
#include <stdint.h>
@@ -5921,4 +5921,4 @@ class SolutionPool : public BaseObject {
59215921
};
59225922
} // namespace operations_research
59235923

5924-
#endif // OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_
5924+
#endif // ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_

ortools/constraint_solver/constraint_solveri.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
/// - SearchLog, the root class of all periodic outputs during search.
4747
/// - ModelCache, A caching layer to avoid creating twice the same object.
4848

49-
#ifndef OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_
50-
#define OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_
49+
#ifndef ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_
50+
#define ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_
5151

5252
#include <stdint.h>
5353
#include <string.h>
@@ -4361,4 +4361,4 @@ std::vector<int64_t> ToInt64Vector(const std::vector<int>& input);
43614361

43624362
} // namespace operations_research
43634363

4364-
#endif // OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_
4364+
#endif // ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_

ortools/constraint_solver/java/javawrapcp_util.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_
15-
#define OR_TOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_
14+
#ifndef ORTOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_
15+
#define ORTOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_
1616

1717
namespace operations_research {
1818
// This class is visible in the API.
@@ -24,4 +24,4 @@ class LocalSearchPhaseParameters {
2424
};
2525
} // namespace operations_research
2626

27-
#endif // OR_TOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_
27+
#endif // ORTOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_

ortools/flatzinc/parser.yy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
// Code to be exported in parser.tab.hh
3232
%code requires {
33-
#if !defined(OR_TOOLS_FLATZINC_FLATZINC_TAB_HH_)
34-
#define OR_TOOLS_FLATZINC_FLATZINC_TAB_HH_
33+
#if !defined(ORTOOLS_FLATZINC_FLATZINC_TAB_HH_)
34+
#define ORTOOLS_FLATZINC_FLATZINC_TAB_HH_
3535
#include "absl/strings/match.h"
3636
#include "absl/strings/str_format.h"
3737
#include "ortools/flatzinc/parser_util.h"
@@ -42,7 +42,7 @@ typedef operations_research::fz::LexerInfo YYSTYPE;
4242
// Defines the parameter to the orfz_lex() call from the orfz_parse() method.
4343
#define YYLEX_PARAM scanner
4444

45-
#endif // OR_TOOLS_FLATZINC_FLATZINC_TAB_HH_
45+
#endif // ORTOOLS_FLATZINC_FLATZINC_TAB_HH_
4646
} // code requires
4747

4848
// Code in the implementation file.

ortools/linear_solver/glop_utils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_LINEAR_SOLVER_GLOP_UTILS_H_
15-
#define OR_TOOLS_LINEAR_SOLVER_GLOP_UTILS_H_
14+
#ifndef ORTOOLS_LINEAR_SOLVER_GLOP_UTILS_H_
15+
#define ORTOOLS_LINEAR_SOLVER_GLOP_UTILS_H_
1616

1717
#include "ortools/linear_solver/linear_solver.h"
1818
#include "ortools/lp_data/lp_types.h"
@@ -29,4 +29,4 @@ glop::ConstraintStatus MPSolverToGlopConstraintStatus(MPSolver::BasisStatus s);
2929

3030
} // namespace operations_research
3131

32-
#endif // OR_TOOLS_LINEAR_SOLVER_GLOP_UTILS_H_
32+
#endif // ORTOOLS_LINEAR_SOLVER_GLOP_UTILS_H_

ortools/linear_solver/gurobi_util.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_
15-
#define OR_TOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_
14+
#ifndef ORTOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_
15+
#define ORTOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_
1616

1717
#include <string>
1818

@@ -37,4 +37,4 @@ std::string GurobiParamInfoForLogging(GRBenv* grb,
3737
bool one_liner_output = false);
3838

3939
} // namespace operations_research
40-
#endif // OR_TOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_
40+
#endif // ORTOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_

ortools/linear_solver/linear_expr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_
15-
#define OR_TOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_
14+
#ifndef ORTOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_
15+
#define ORTOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_
1616

1717
/**
1818
* \file
@@ -222,4 +222,4 @@ LinearRange operator>=(const LinearExpr& lhs, const LinearExpr& rhs);
222222

223223
} // namespace operations_research
224224

225-
#endif // OR_TOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_
225+
#endif // ORTOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_

ortools/linear_solver/linear_solver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@
131131
* depends on the modification applied and on the underlying solver.
132132
*/
133133

134-
#ifndef OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_
135-
#define OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_
134+
#ifndef ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_
135+
#define ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_
136136

137137
#include <atomic>
138138
#include <cstdint>
@@ -1930,4 +1930,4 @@ class MPSolverInterface {
19301930

19311931
} // namespace operations_research
19321932

1933-
#endif // OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_
1933+
#endif // ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_

ortools/linear_solver/linear_solver_callback.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_
15-
#define OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_
14+
#ifndef ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_
15+
#define ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_
1616

1717
#include <cstdint>
1818
#include <string>
@@ -175,4 +175,4 @@ class MPCallbackList : public MPCallback {
175175

176176
} // namespace operations_research
177177

178-
#endif // OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_
178+
#endif // ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_

ortools/linear_solver/model_exporter.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
15-
#define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
14+
#ifndef ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
15+
#define ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
1616

1717
#include <string>
1818

@@ -109,4 +109,4 @@ absl::Status WriteModelToMpsFile(
109109

110110
} // namespace operations_research
111111

112-
#endif // OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
112+
#endif // ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_

0 commit comments

Comments
 (0)