c++11: explicitly delete copy constructors and operator=.
* src/ltlvisit/simplify.hh, src/ta/taexplicit.hh, src/ta/taproduct.hh, src/tgba/bdddict.hh, src/tgba/taatgba.hh, src/tgba/tgbabddconcrete.hh, src/tgba/tgbaexplicit.hh, src/tgba/tgbaproduct.hh, src/tgba/tgbasgba.hh, src/tgba/tgbatba.hh, src/tgba/tgbaunion.hh, src/tgba/wdbacomp.cc: Here.
This commit is contained in:
parent
557292bd11
commit
9cfc9f0f3f
12 changed files with 29 additions and 29 deletions
|
|
@ -175,7 +175,9 @@ namespace spot
|
||||||
private:
|
private:
|
||||||
ltl_simplifier_cache* cache_;
|
ltl_simplifier_cache* cache_;
|
||||||
// Copy disallowed.
|
// Copy disallowed.
|
||||||
ltl_simplifier(const ltl_simplifier&);
|
ltl_simplifier(const ltl_simplifier&) = delete;
|
||||||
|
void operator=(const ltl_simplifier&) = delete;
|
||||||
|
|
||||||
bool owndict;
|
bool owndict;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -132,9 +132,8 @@ namespace spot
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
ta_explicit(const ta_explicit& other);
|
ta_explicit(const ta_explicit& other) = delete;
|
||||||
ta_explicit&
|
ta_explicit& operator=(const ta_explicit& other) = delete;
|
||||||
operator=(const ta_explicit& other);
|
|
||||||
|
|
||||||
const tgba* tgba_;
|
const tgba* tgba_;
|
||||||
bdd all_acceptance_conditions_;
|
bdd all_acceptance_conditions_;
|
||||||
|
|
|
||||||
|
|
@ -202,9 +202,8 @@ namespace spot
|
||||||
const kripke* kripke_;
|
const kripke* kripke_;
|
||||||
|
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
ta_product(const ta_product&);
|
ta_product(const ta_product&) = delete;
|
||||||
ta_product&
|
ta_product& operator=(const ta_product&) = delete;
|
||||||
operator=(const ta_product&);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -239,8 +239,8 @@ namespace spot
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
bdd_dict(const bdd_dict& other);
|
bdd_dict(const bdd_dict& other) = delete;
|
||||||
bdd_dict& operator=(const bdd_dict& other);
|
bdd_dict& operator=(const bdd_dict& other) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,8 +78,8 @@ namespace spot
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
taa_tgba(const taa_tgba& other);
|
taa_tgba(const taa_tgba& other) = delete;
|
||||||
taa_tgba& operator=(const taa_tgba& other);
|
taa_tgba& operator=(const taa_tgba& other) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Set of states deriving from spot::state.
|
/// Set of states deriving from spot::state.
|
||||||
|
|
|
||||||
|
|
@ -91,8 +91,8 @@ namespace spot
|
||||||
bdd init_; ///< Initial state.
|
bdd init_; ///< Initial state.
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_bdd_concrete(const tgba_bdd_concrete&);
|
tgba_bdd_concrete(const tgba_bdd_concrete&) = delete;
|
||||||
tgba_bdd_concrete& operator=(const tgba_bdd_concrete&);
|
tgba_bdd_concrete& operator=(const tgba_bdd_concrete&) = delete;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -709,8 +709,8 @@ namespace spot
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_explicit(const tgba_explicit<State>& other);
|
tgba_explicit(const tgba_explicit<State>& other) = delete;
|
||||||
tgba_explicit& operator=(const tgba_explicit& other);
|
tgba_explicit& operator=(const tgba_explicit& other) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename State>
|
template <typename State>
|
||||||
|
|
@ -739,8 +739,8 @@ namespace spot
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
sba_explicit(const sba_explicit<State>& other);
|
sba_explicit(const sba_explicit<State>& other) = delete;
|
||||||
sba_explicit& operator=(const sba_explicit& other);
|
sba_explicit& operator=(const sba_explicit& other) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,8 +126,8 @@ namespace spot
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_product(const tgba_product&);
|
tgba_product(const tgba_product&) = delete;
|
||||||
tgba_product& operator=(const tgba_product&);
|
tgba_product& operator=(const tgba_product&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \brief A lazy product with different initial states.
|
/// \brief A lazy product with different initial states.
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@ namespace spot
|
||||||
bool emulate_acc_cond_;
|
bool emulate_acc_cond_;
|
||||||
bdd acceptance_condition_;
|
bdd acceptance_condition_;
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_sgba_proxy(const tgba_sgba_proxy&);
|
tgba_sgba_proxy(const tgba_sgba_proxy&) = delete;
|
||||||
tgba_sgba_proxy& operator=(const tgba_sgba_proxy&);
|
tgba_sgba_proxy& operator=(const tgba_sgba_proxy&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,8 +120,8 @@ namespace spot
|
||||||
mutable void* uniq_map_;
|
mutable void* uniq_map_;
|
||||||
|
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_tba_proxy(const tgba_tba_proxy&);
|
tgba_tba_proxy(const tgba_tba_proxy&) = delete;
|
||||||
tgba_tba_proxy& operator=(const tgba_tba_proxy&);
|
tgba_tba_proxy& operator=(const tgba_tba_proxy&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \ingroup tgba_on_the_fly_algorithms
|
/// \ingroup tgba_on_the_fly_algorithms
|
||||||
|
|
|
||||||
|
|
@ -151,8 +151,8 @@ namespace spot
|
||||||
bdd all_acceptance_conditions_;
|
bdd all_acceptance_conditions_;
|
||||||
bdd neg_acceptance_conditions_;
|
bdd neg_acceptance_conditions_;
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_union(const tgba_union&);
|
tgba_union(const tgba_union&) = delete;
|
||||||
tgba_union& operator=(const tgba_union&);
|
tgba_union& operator=(const tgba_union&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- coding: utf-8 -*-
|
// -*- coding: utf-8 -*-
|
||||||
// Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
|
// Copyright (C) 2011, 2012, 2013 Laboratoire de Recherche et
|
||||||
// de l'Epita.
|
// Développement de l'Epita.
|
||||||
//
|
//
|
||||||
// This file is part of Spot, a model checking library.
|
// This file is part of Spot, a model checking library.
|
||||||
//
|
//
|
||||||
|
|
@ -271,8 +271,8 @@ namespace spot
|
||||||
bdd the_acceptance_cond_;
|
bdd the_acceptance_cond_;
|
||||||
|
|
||||||
// Disallow copy.
|
// Disallow copy.
|
||||||
tgba_wdba_comp_proxy(const tgba_wdba_comp_proxy&);
|
tgba_wdba_comp_proxy(const tgba_wdba_comp_proxy&) = delete;
|
||||||
tgba_wdba_comp_proxy& operator=(const tgba_wdba_comp_proxy&);
|
tgba_wdba_comp_proxy& operator=(const tgba_wdba_comp_proxy&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue