Skip to content

Commit

Permalink
Make default levels const
Browse files Browse the repository at this point in the history
  • Loading branch information
chschulte committed Dec 4, 2018
1 parent 0d484a7 commit cd5e0fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gecode/minimodel.hh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ namespace Gecode {

/// Default propagation levels for all constraints
GECODE_MINIMODEL_EXPORT
static IntPropLevels def;
static const IntPropLevels def;
};

}
Expand Down
2 changes: 1 addition & 1 deletion gecode/minimodel/ipl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

namespace Gecode {

IntPropLevels IntPropLevels::def;
const IntPropLevels IntPropLevels::def;

}

Expand Down

0 comments on commit cd5e0fe

Please sign in to comment.