kripkecube: modernize is_a_kripkecube_ptr
* spot/kripke/kripke.hh, spot/ltsmin/spins_kripke.hh, spot/mc/bloemen.hh, spot/mc/bloemen_ec.hh, spot/mc/cndfs.hh, spot/mc/deadlock.hh, spot/mc/intersect.hh, spot/mc/reachability.hh, tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
parent
b52e941b04
commit
f8448fad89
9 changed files with 76 additions and 44 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2015, 2016, 2017, 2018 Laboratoire de Recherche et
|
||||
// Copyright (C) 2015, 2016, 2017, 2018, 2019 Laboratoire de Recherche et
|
||||
// Developpement de l'Epita
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -103,7 +103,9 @@ namespace spot
|
|||
p_pair_(sizeof(deadlock_pair)),
|
||||
stop_(stop)
|
||||
{
|
||||
SPOT_ASSERT(is_a_kripkecube(sys));
|
||||
static_assert(spot::is_a_kripkecube_ptr<decltype(&sys),
|
||||
State, SuccIterator>::value,
|
||||
"error: does not match the kripkecube requirements");
|
||||
}
|
||||
|
||||
virtual ~swarmed_deadlock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue