Skip to content

Commit 41def82

Browse files
committed
Warnings removed
1 parent 71ca3fa commit 41def82

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

gecode/int/extensional.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ namespace Gecode { namespace Int { namespace Extensional {
470470
/// Constructor for cloning \a p
471471
Compact(Space& home, Compact& p);
472472
/// Constructor for posting
473-
Compact(Home home, ViewArray<View>& x, const TupleSet& ts);
473+
Compact(Home home, const TupleSet& ts);
474474
/// Setup the actual table
475475
template<class Table>
476476
void setup(Space& home, Table& table, ViewArray<View>& x);

gecode/int/extensional/compact.hpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,7 @@ namespace Gecode { namespace Int { namespace Extensional {
339339

340340
template<class View, bool pos>
341341
forceinline
342-
Compact<View,pos>::Compact(Home home, ViewArray<View>& x,
343-
const TupleSet& ts0)
342+
Compact<View,pos>::Compact(Home home, const TupleSet& ts0)
344343
: Propagator(home), n_words(ts0.words()), ts(ts0), c(home) {
345344
home.notice(*this, AP_DISPOSE);
346345
}
@@ -514,7 +513,7 @@ namespace Gecode { namespace Int { namespace Extensional {
514513
forceinline
515514
PosCompact<View,Table>::PosCompact(Home home, ViewArray<View>& x,
516515
const TupleSet& ts)
517-
: Compact<View,true>(home,x,ts), status(MULTIPLE), table(home,ts.words()) {
516+
: Compact<View,true>(home,ts), status(MULTIPLE), table(home,ts.words()) {
518517
setup(home,table,x);
519518
}
520519

@@ -790,7 +789,7 @@ namespace Gecode { namespace Int { namespace Extensional {
790789
forceinline
791790
NegCompact<View,Table>::NegCompact(Home home, ViewArray<View>& x,
792791
const TupleSet& ts)
793-
: Compact<View,false>(home,x,ts), table(home,ts.words()) {
792+
: Compact<View,false>(home,ts), table(home,ts.words()) {
794793
setup(home,table,x);
795794
}
796795

@@ -1068,7 +1067,7 @@ namespace Gecode { namespace Int { namespace Extensional {
10681067
forceinline
10691068
ReCompact<View,Table,CtrlView,rm>::ReCompact(Home home, ViewArray<View>& x,
10701069
const TupleSet& ts, CtrlView b0)
1071-
: Compact<View,false>(home,x,ts), table(home,ts.words()), b(b0), y(x) {
1070+
: Compact<View,false>(home,ts), table(home,ts.words()), b(b0), y(x) {
10721071
b.subscribe(home,*this,PC_BOOL_VAL);
10731072
setup(home,table,x);
10741073
}

0 commit comments

Comments
 (0)