* spot/twacube_algos/convert.cc: Avoid unnecessary std::function.
This commit is contained in:
parent
12cdf0d33d
commit
826577c81e
1 changed files with 5 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- coding: utf-8 -*-
|
// -*- coding: utf-8 -*-
|
||||||
// Copyright (C) 2015, 2016, 2018, 2020 Laboratoire de Recherche et
|
// Copyright (C) 2015-2016, 2018, 2020-2021 Laboratoire de Recherche
|
||||||
// Developpement de l'Epita (LRDE).
|
// et Developpement de l'Epita (LRDE).
|
||||||
//
|
//
|
||||||
// This file is part of Spot, a model checking library.
|
// This file is part of Spot, a model checking library.
|
||||||
//
|
//
|
||||||
|
|
@ -193,8 +193,7 @@ namespace spot
|
||||||
std::vector<std::string> aps_twacube = twacube->ap();
|
std::vector<std::string> aps_twacube = twacube->ap();
|
||||||
|
|
||||||
// Comparator to compare two strings in case insensitive manner
|
// Comparator to compare two strings in case insensitive manner
|
||||||
std::function< bool (const std::string&, const std::string&) >
|
auto comparator = [](const std::string& lhs, const std::string& rhs) {
|
||||||
comparator = [](const std::string& lhs, const std::string& rhs){
|
|
||||||
return lhs.compare(rhs) == 0;
|
return lhs.compare(rhs) == 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue