Fix clang++ compilation problem.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-08-30 09:04:11 -07:00
parent 2aac94f2e6
commit 6efb6c6e83

View file

@ -417,7 +417,7 @@ class elaborator::imp {
} }
expr instantiate(expr const & e) { expr instantiate(expr const & e) {
auto proc = [&](expr const & n, unsigned offset) { auto proc = [&](expr const & n, unsigned offset) -> expr {
if (is_meta(n)) { if (is_meta(n)) {
expr const & m = get_metavar(n); expr const & m = get_metavar(n);
unsigned midx = metavar_idx(m); unsigned midx = metavar_idx(m);