twacube: 'mark_t' is deprecated

* spot/mc/ec.hh, spot/mc/intersect.hh,
tests/core/twacube.cc: here.
This commit is contained in:
Etienne Renault 2018-07-04 11:14:27 +02:00
parent 73ccf2216d
commit 5d30286dd6
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2015, 2016 Laboratoire de Recherche et
// Copyright (C) 2015, 2016, 2018 Laboratoire de Recherche et
// Developpement de l'Epita
//
// This file is part of Spot, a model checking library.
@ -72,7 +72,7 @@ namespace spot
bool push_state(product_state, unsigned dfsnum, acc_cond::mark_t cond)
{
uf_.makeset(dfsnum);
roots_.push_back({dfsnum, cond, 0U});
roots_.push_back({dfsnum, cond, {}});
return true;
}
@ -146,7 +146,7 @@ namespace spot
};
std::queue<ctrx_element*> bfs;
acc_cond::mark_t acc = 0U;
acc_cond::mark_t acc = {};
bfs.push(new ctrx_element({&this->todo.back().st, nullptr,
this->sys_.succ(this->todo.back().st.st_kripke, this->tid_),

View file

@ -89,7 +89,7 @@ namespace spot
{
self().setup();
product_state initial = {sys_.initial(tid_), twa_->get_initial()};
if (SPOT_LIKELY(self().push_state(initial, dfs_number+1, 0U)))
if (SPOT_LIKELY(self().push_state(initial, dfs_number+1, {})))
{
todo.push_back({initial, sys_.succ(initial.st_kripke, tid_),
twa_->succ(initial.st_prop)});