Fix clang++ error
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
7778ae0ade
commit
6f36611010
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ namespace lean {
|
||||||
class environment;
|
class environment;
|
||||||
/** \brief Functional object for normalizing expressions */
|
/** \brief Functional object for normalizing expressions */
|
||||||
class normalizer {
|
class normalizer {
|
||||||
struct imp;
|
class imp;
|
||||||
std::unique_ptr<imp> m_ptr;
|
std::unique_ptr<imp> m_ptr;
|
||||||
public:
|
public:
|
||||||
normalizer(environment const & env);
|
normalizer(environment const & env);
|
||||||
|
|
|
@ -12,7 +12,7 @@ Author: Leonardo de Moura
|
||||||
namespace lean {
|
namespace lean {
|
||||||
class environment;
|
class environment;
|
||||||
class type_checker {
|
class type_checker {
|
||||||
struct imp;
|
class imp;
|
||||||
std::unique_ptr<imp> m_ptr;
|
std::unique_ptr<imp> m_ptr;
|
||||||
public:
|
public:
|
||||||
type_checker(environment const & env);
|
type_checker(environment const & env);
|
||||||
|
|
|
@ -91,7 +91,7 @@ static char const * g_arrow = "\u21a6";
|
||||||
|
|
||||||
options options::update(name const & n, sexpr const & v) const {
|
options options::update(name const & n, sexpr const & v) const {
|
||||||
if (contains(n)) {
|
if (contains(n)) {
|
||||||
return map(m_value, [&](sexpr const & p) {
|
return map(m_value, [&](sexpr p) {
|
||||||
if (to_name(car(p)) == n)
|
if (to_name(car(p)) == n)
|
||||||
return cons(car(p), v);
|
return cons(car(p), v);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue