summaryrefslogtreecommitdiff
path: root/src/hir_conv/bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir_conv/bind.cpp')
-rw-r--r--src/hir_conv/bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp
index e06708fc..c96fc348 100644
--- a/src/hir_conv/bind.cpp
+++ b/src/hir_conv/bind.cpp
@@ -280,7 +280,7 @@ namespace {
}
};
- if( &*expr != nullptr )
+ if( expr.get() != nullptr )
{
ExprVisitor v { *this };
(*expr).visit(v);