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:
|
||||
ltl_simplifier_cache* cache_;
|
||||
// Copy disallowed.
|
||||
ltl_simplifier(const ltl_simplifier&);
|
||||
ltl_simplifier(const ltl_simplifier&) = delete;
|
||||
void operator=(const ltl_simplifier&) = delete;
|
||||
|
||||
bool owndict;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,9 +132,8 @@ namespace spot
|
|||
|
||||
private:
|
||||
// Disallow copy.
|
||||
ta_explicit(const ta_explicit& other);
|
||||
ta_explicit&
|
||||
operator=(const ta_explicit& other);
|
||||
ta_explicit(const ta_explicit& other) = delete;
|
||||
ta_explicit& operator=(const ta_explicit& other) = delete;
|
||||
|
||||
const tgba* tgba_;
|
||||
bdd all_acceptance_conditions_;
|
||||
|
|
|
|||
|
|
@ -202,9 +202,8 @@ namespace spot
|
|||
const kripke* kripke_;
|
||||
|
||||
// Disallow copy.
|
||||
ta_product(const ta_product&);
|
||||
ta_product&
|
||||
operator=(const ta_product&);
|
||||
ta_product(const ta_product&) = delete;
|
||||
ta_product& operator=(const ta_product&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -239,8 +239,8 @@ namespace spot
|
|||
|
||||
private:
|
||||
// Disallow copy.
|
||||
bdd_dict(const bdd_dict& other);
|
||||
bdd_dict& operator=(const bdd_dict& other);
|
||||
bdd_dict(const bdd_dict& other) = delete;
|
||||
bdd_dict& operator=(const bdd_dict& other) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -78,8 +78,8 @@ namespace spot
|
|||
|
||||
private:
|
||||
// Disallow copy.
|
||||
taa_tgba(const taa_tgba& other);
|
||||
taa_tgba& operator=(const taa_tgba& other);
|
||||
taa_tgba(const taa_tgba& other) = delete;
|
||||
taa_tgba& operator=(const taa_tgba& other) = delete;
|
||||
};
|
||||
|
||||
/// Set of states deriving from spot::state.
|
||||
|
|
|
|||
|
|
@ -91,8 +91,8 @@ namespace spot
|
|||
bdd init_; ///< Initial state.
|
||||
private:
|
||||
// Disallow copy.
|
||||
tgba_bdd_concrete(const tgba_bdd_concrete&);
|
||||
tgba_bdd_concrete& operator=(const tgba_bdd_concrete&);
|
||||
tgba_bdd_concrete(const tgba_bdd_concrete&) = delete;
|
||||
tgba_bdd_concrete& operator=(const tgba_bdd_concrete&) = delete;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -709,8 +709,8 @@ namespace spot
|
|||
|
||||
private:
|
||||
// Disallow copy.
|
||||
tgba_explicit(const tgba_explicit<State>& other);
|
||||
tgba_explicit& operator=(const tgba_explicit& other);
|
||||
tgba_explicit(const tgba_explicit<State>& other) = delete;
|
||||
tgba_explicit& operator=(const tgba_explicit& other) = delete;
|
||||
};
|
||||
|
||||
template <typename State>
|
||||
|
|
@ -739,8 +739,8 @@ namespace spot
|
|||
|
||||
private:
|
||||
// Disallow copy.
|
||||
sba_explicit(const sba_explicit<State>& other);
|
||||
sba_explicit& operator=(const sba_explicit& other);
|
||||
sba_explicit(const sba_explicit<State>& other) = delete;
|
||||
sba_explicit& operator=(const sba_explicit& other) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -126,8 +126,8 @@ namespace spot
|
|||
|
||||
private:
|
||||
// Disallow copy.
|
||||
tgba_product(const tgba_product&);
|
||||
tgba_product& operator=(const tgba_product&);
|
||||
tgba_product(const tgba_product&) = delete;
|
||||
tgba_product& operator=(const tgba_product&) = delete;
|
||||
};
|
||||
|
||||
/// \brief A lazy product with different initial states.
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@ namespace spot
|
|||
bool emulate_acc_cond_;
|
||||
bdd acceptance_condition_;
|
||||
// Disallow copy.
|
||||
tgba_sgba_proxy(const tgba_sgba_proxy&);
|
||||
tgba_sgba_proxy& operator=(const tgba_sgba_proxy&);
|
||||
tgba_sgba_proxy(const tgba_sgba_proxy&) = delete;
|
||||
tgba_sgba_proxy& operator=(const tgba_sgba_proxy&) = delete;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,8 +120,8 @@ namespace spot
|
|||
mutable void* uniq_map_;
|
||||
|
||||
// Disallow copy.
|
||||
tgba_tba_proxy(const tgba_tba_proxy&);
|
||||
tgba_tba_proxy& operator=(const tgba_tba_proxy&);
|
||||
tgba_tba_proxy(const tgba_tba_proxy&) = delete;
|
||||
tgba_tba_proxy& operator=(const tgba_tba_proxy&) = delete;
|
||||
};
|
||||
|
||||
/// \ingroup tgba_on_the_fly_algorithms
|
||||
|
|
|
|||
|
|
@ -151,8 +151,8 @@ namespace spot
|
|||
bdd all_acceptance_conditions_;
|
||||
bdd neg_acceptance_conditions_;
|
||||
// Disallow copy.
|
||||
tgba_union(const tgba_union&);
|
||||
tgba_union& operator=(const tgba_union&);
|
||||
tgba_union(const tgba_union&) = delete;
|
||||
tgba_union& operator=(const tgba_union&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
|
||||
// de l'Epita.
|
||||
// Copyright (C) 2011, 2012, 2013 Laboratoire de Recherche et
|
||||
// Développement de l'Epita.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -271,8 +271,8 @@ namespace spot
|
|||
bdd the_acceptance_cond_;
|
||||
|
||||
// Disallow copy.
|
||||
tgba_wdba_comp_proxy(const tgba_wdba_comp_proxy&);
|
||||
tgba_wdba_comp_proxy& operator=(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&) = delete;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue